class DIEAbbrev
Declaration
class DIEAbbrev : public Node { /* full declaration omitted */ };
Description
Dwarf abbreviation, describes the organization of a debug information object.
Declared at: llvm/include/llvm/CodeGen/DIE.h:79
Inherits from: FoldingSetBase::Node
Member Variables
- private unsigned int Number = 0
- Unique number for node.
- private dwarf::Tag Tag
- Dwarf tag code.
- private bool Children
- This cheats a bit in all of the uses since the values in the standard are 0 and 1 for no children and children respectively.
- private SmallVector<llvm::DIEAbbrevData, 12> Data
- Raw data bytes for abbreviation.
Method Overview
- public void AddAttribute(dwarf::Attribute Attribute, dwarf::Form Form)
- public void AddImplicitConstAttribute(dwarf::Attribute Attribute, int64_t Value)
- public DIEAbbrev(dwarf::Tag T, bool C)
- public void Emit(const llvm::AsmPrinter * AP) const
- public void Profile(llvm::FoldingSetNodeID & ID) const
- public void dump() const
- public const SmallVectorImpl<llvm::DIEAbbrevData> & getData() const
- public unsigned int getNumber() const
- public dwarf::Tag getTag() const
- public bool hasChildren() const
- public void print(llvm::raw_ostream & O) const
- public void setChildrenFlag(bool hasChild)
- public void setNumber(unsigned int N)
Inherited from FoldingSetBase::Node:
Methods
¶void AddAttribute(dwarf::Attribute Attribute,
dwarf::Form Form)
void AddAttribute(dwarf::Attribute Attribute,
dwarf::Form Form)
Description
Adds another set of attribute information to the abbreviation.
Declared at: llvm/include/llvm/CodeGen/DIE.h:109
Parameters
- dwarf::Attribute Attribute
- dwarf::Form Form
¶void AddImplicitConstAttribute(
dwarf::Attribute Attribute,
int64_t Value)
void AddImplicitConstAttribute(
dwarf::Attribute Attribute,
int64_t Value)
Description
Adds attribute with DW_FORM_implicit_const value
Declared at: llvm/include/llvm/CodeGen/DIE.h:114
Parameters
- dwarf::Attribute Attribute
- int64_t Value
¶DIEAbbrev(dwarf::Tag T, bool C)
DIEAbbrev(dwarf::Tag T, bool C)
Declared at: llvm/include/llvm/CodeGen/DIE.h:96
Parameters
- dwarf::Tag T
- bool C
¶void Emit(const llvm::AsmPrinter* AP) const
void Emit(const llvm::AsmPrinter* AP) const
Description
Print the abbreviation using the specified asm printer.
Declared at: llvm/include/llvm/CodeGen/DIE.h:122
Parameters
- const llvm::AsmPrinter* AP
¶void Profile(llvm::FoldingSetNodeID& ID) const
void Profile(llvm::FoldingSetNodeID& ID) const
Description
Used to gather unique data for the abbreviation folding set.
Declared at: llvm/include/llvm/CodeGen/DIE.h:119
Parameters
¶void dump() const
void dump() const
Declared at: llvm/include/llvm/CodeGen/DIE.h:125
¶const SmallVectorImpl<llvm::DIEAbbrevData>&
getData() const
const SmallVectorImpl<llvm::DIEAbbrevData>&
getData() const
Declared at: llvm/include/llvm/CodeGen/DIE.h:103
¶unsigned int getNumber() const
unsigned int getNumber() const
Declared at: llvm/include/llvm/CodeGen/DIE.h:101
¶dwarf::Tag getTag() const
dwarf::Tag getTag() const
Description
Accessors. @ {
Declared at: llvm/include/llvm/CodeGen/DIE.h:100
¶bool hasChildren() const
bool hasChildren() const
Declared at: llvm/include/llvm/CodeGen/DIE.h:102
¶void print(llvm::raw_ostream& O) const
void print(llvm::raw_ostream& O) const
Declared at: llvm/include/llvm/CodeGen/DIE.h:124
Parameters
¶void setChildrenFlag(bool hasChild)
void setChildrenFlag(bool hasChild)
Declared at: llvm/include/llvm/CodeGen/DIE.h:104
Parameters
- bool hasChild
¶void setNumber(unsigned int N)
void setNumber(unsigned int N)
Declared at: llvm/include/llvm/CodeGen/DIE.h:105
Parameters
- unsigned int N