LLVM: llvm::dwarf_linker::parallel::DIEGenerator Class Reference (original) (raw)

This class is a helper to create output DIE tree. More...

#include "[DWARFLinker/Parallel/DIEGenerator.h](DIEGenerator%5F8h%5Fsource.html)"

Public Member Functions
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.

This class is a helper to create output DIE tree.

Definition at line 22 of file DIEGenerator.h.

DIEGenerator() [2/2]

addAttribute()

addBlockAttribute()

addChild()

void llvm::dwarf_linker::parallel::DIEGenerator::addChild ( DIE * Child) inline

addIndexedStringAttribute()

addInplaceString()

addLocationAttribute()

addLocListAttribute()

addScalarAttribute()

addStringPlaceholderAttribute()

createDIE()

finalizeAbbreviations()

size_t llvm::dwarf_linker::parallel::DIEGenerator::finalizeAbbreviations ( bool CHILDREN_yes, OffsetsPtrVector * OffsetsList ) inline

getDIE()

DIE * llvm::dwarf_linker::parallel::DIEGenerator::getDIE ( ) inline

Allocator

CU

DwarfUnit& llvm::dwarf_linker::parallel::DIEGenerator::CU protected

OutputDIE

DIE* llvm::dwarf_linker::parallel::DIEGenerator::OutputDIE = nullptr protected

The documentation for this class was generated from the following file: