24 OS <<
"name = '" <<
Name <<
"'"
26 <<
", length = " <<
format(
"0x%0*" PRIx64, OffsetDumpWidth,
getLength())
41 <<
", name = '" <<
Name <<
"'"
48 TU.dump(
OS, 0, DumpOpts);
50 OS <<
"<type unit can't be parsed!>\n\n";
Utility class that carries the DWARF compile/type unit and the debug info entry in an object.
const char * getName(DINameKind Kind) const
Return the DIE name resolving DW_AT_specification or DW_AT_abstract_origin references if necessary.
uint64_t getTypeOffset() const
void dump(raw_ostream &OS, DIDumpOptions DumpOpts={}) override
uint64_t getTypeHash() const
uint8_t getUnitType() const
uint64_t getLength() const
DWARFDie getUnitDIE(bool ExtractUnitDIEOnly=true)
uint8_t getAddressByteSize() const
const DWARFAbbreviationDeclarationSet * getAbbreviations() const
DWARFDie getDIEForOffset(uint64_t Offset)
Return the DIE object for a given offset Offset inside the unit's DIE vector.
dwarf::DwarfFormat getFormat() const
uint16_t getVersion() const
uint64_t getAbbrOffset() const
uint64_t getNextUnitOffset() const
uint64_t getOffset() const
This class implements an extremely fast bulk output stream that can only output to a stream.
StringRef FormatString(DwarfFormat Format)
StringRef UnitTypeString(unsigned)
uint8_t getDwarfOffsetByteSize(DwarfFormat Format)
The size of a reference determined by the DWARF 32/64-bit format.
This is an optimization pass for GlobalISel generic memory operations.
format_object< Ts... > format(const char *Fmt, const Ts &... Vals)
These are helper functions used to produce formatted output.
Container for dump options that control which debug information will be dumped.