|
DIEGenerator (BumpPtrAllocator &Allocator, DwarfUnit &CU) |
|
DIEGenerator (DIE *OutputDIE, BumpPtrAllocator &Allocator, DwarfUnit &CU) |
| DIE * |
createDIE (dwarf::Tag DieTag, uint32_t OutOffset) |
|
Creates a DIE of specified tag DieTag and OutOffset. |
| DIE * |
getDIE () |
| void |
addChild (DIE *Child) |
|
Adds a specified Child to the current DIE. |
| std::pair< DIEValue &, size_t > |
addScalarAttribute (dwarf::Attribute Attr, dwarf::Form AttrForm, uint64_t Value) |
|
Adds specified scalar attribute to the current DIE. |
| std::pair< DIEValue &, size_t > |
addLocationAttribute (dwarf::Attribute Attr, dwarf::Form AttrForm, ArrayRef< uint8_t > Bytes) |
|
Adds specified location attribute to the current DIE. |
| std::pair< DIEValue &, size_t > |
addBlockAttribute (dwarf::Attribute Attr, dwarf::Form AttrForm, ArrayRef< uint8_t > Bytes) |
|
Adds specified block or exprloc attribute to the current DIE. |
| std::pair< DIEValue &, size_t > |
addLocListAttribute (dwarf::Attribute Attr, dwarf::Form AttrForm, uint64_t Value) |
|
Adds specified location list attribute to the current DIE. |
| std::pair< DIEValue &, size_t > |
addIndexedStringAttribute (dwarf::Attribute Attr, dwarf::Form AttrForm, uint64_t Idx) |
|
Adds indexed string attribute. |
| std::pair< DIEValue &, size_t > |
addStringPlaceholderAttribute (dwarf::Attribute Attr, dwarf::Form AttrForm) |
|
Adds string attribute with dummy offset to the current DIE. |
| std::pair< DIEValue &, size_t > |
addInplaceString (dwarf::Attribute Attr, StringRef String) |
|
Adds inplace string attribute to the current DIE. |
| size_t |
finalizeAbbreviations (bool CHILDREN_yes, OffsetsPtrVector *OffsetsList) |
|
Creates appreviations for the current DIE. |