22 TypeHash = debug_info.
getU64(offset_ptr);
23 TypeOffset = debug_info.
getU32(offset_ptr);
32 OS <<
"name = '" << Name <<
"'"
33 <<
" type_signature = " <<
format(
"0x%16" PRIx64, TypeHash)
43 <<
" name = '" << Name <<
"'"
44 <<
" type_signature = " <<
format(
"0x%16" PRIx64, TypeHash)
45 <<
" type_offset = " <<
format(
"0x%04x", TypeOffset)
51 OS <<
"<type unit can't be parsed!>\n\n";
uint32_t getNextUnitOffset() const
virtual bool extractImpl(DataExtractor debug_info, uint32_t *offset_ptr)
const DWARFAbbreviationDeclarationSet * getAbbreviations() const
uint32_t getLength() const
const char * getAttributeValueAsString(dwarf::Attribute Attr, const char *FailValue) const
Extract the specified attribute from this DIE as a C string.
uint16_t getVersion() const
format_object< Ts...> format(const char *Fmt, const Ts &...Vals)
These are helper functions used to produce formatted output.
Utility class that carries the DWARF compile/type unit and the debug info entry in an object...
bool extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) override
DWARFDie getUnitDIE(bool ExtractUnitDIEOnly=true)
void dump(raw_ostream &OS, bool Brief=false)
uint32_t getOffset() const
uint8_t getAddressByteSize() const
DWARFDie getDIEForOffset(uint32_t Offset)
Return the DIE object for a given offset inside the unit's DIE vector.
This class implements an extremely fast bulk output stream that can only output to a stream...