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