39 CUDie.dump(
OS, 0, DumpOpts);
42 if (NonSkeletonCUDie && CUDie != NonSkeletonCUDie)
43 NonSkeletonCUDie.
dump(
OS, 0, DumpOpts);
46 OS <<
"<compile unit can't be parsed!>\n\n";
~DWARFCompileUnit() override
VTable anchor.
void dump(raw_ostream &OS, DIDumpOptions DumpOpts) override
Dump this compile unit to OS.
Utility class that carries the DWARF compile/type unit and the debug info entry in an object.
void dump(raw_ostream &OS, unsigned indent=0, DIDumpOptions DumpOpts=DIDumpOptions()) const
Dump the DIE and all of its attributes to the supplied stream.
std::optional< uint64_t > getDWOId()
DWARFDie getNonSkeletonUnitDIE(bool ExtractUnitDIEOnly=true, StringRef DWOAlternativeLocation={})
uint8_t getUnitType() const
uint64_t getLength() const
DWARFDie getUnitDIE(bool ExtractUnitDIEOnly=true)
uint8_t getAddressByteSize() const
const DWARFAbbreviationDeclarationSet * getAbbreviations() const
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.