LLVM: llvm::DIEAbbrev Class Reference (original) (raw)
Dwarf abbreviation, describes the organization of a debug information object. More...
#include "[llvm/CodeGen/DIE.h](DIE%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| DIEAbbrev (dwarf::Tag T, bool C) | |
| void | AddAttribute (dwarf::Attribute Attribute, dwarf::Form Form) |
| Adds another set of attribute information to the abbreviation. | |
| void | AddImplicitConstAttribute (dwarf::Attribute Attribute, int64_t Value) |
| Adds attribute with DW_FORM_implicit_const value. | |
| void | AddAttribute (const DIEAbbrevData &AbbrevData) |
| Adds another set of attribute information to the abbreviation. | |
| LLVM_ABI void | Profile (FoldingSetNodeID &ID) const |
| Used to gather unique data for the abbreviation folding set. | |
| LLVM_ABI void | Emit (const AsmPrinter *AP) const |
| Print the abbreviation using the specified asm printer. | |
| LLVM_ABI void | print (raw_ostream &O) const |
| LLVM_ABI void | dump () const |
| dwarf::Tag | getTag () const |
| Accessors. | |
| unsigned | getNumber () const |
| bool | hasChildren () const |
| const SmallVectorImpl< DIEAbbrevData > & | getData () const |
| void | setChildrenFlag (bool hasChild) |
| void | setNumber (unsigned N) |
| Public Member Functions inherited from llvm::FoldingSetBase::Node | |
| Node ()=default | |
| void * | getNextInBucket () const |
| void | SetNextInBucket (void *N) |
Dwarf abbreviation, describes the organization of a debug information object.
Definition at line 80 of file DIE.h.
◆ AddAttribute() [1/2]
Adds another set of attribute information to the abbreviation.
Definition at line 120 of file DIE.h.
◆ AddAttribute() [2/2]
◆ AddImplicitConstAttribute()
| void llvm::DIEAbbrev::AddImplicitConstAttribute ( dwarf::Attribute Attribute, int64_t Value ) | inline |
|---|
◆ dump()
◆ Emit()
Print the abbreviation using the specified asm printer.
Emit - Print the abbreviation using the specified asm printer.
Definition at line 62 of file DIE.cpp.
References llvm::dwarf::AttributeString(), llvm::dwarf::ChildrenString(), data, llvm::dbgs(), llvm::AsmPrinter::emitSLEB128(), llvm::AsmPrinter::emitULEB128(), llvm::format(), llvm::dwarf::FormEncodingString(), llvm::AsmPrinter::getDwarfVersion(), llvm::dwarf::isValidFormForVersion(), LLVM_DEBUG, llvm_unreachable, and llvm::dwarf::TagString().
Referenced by llvm::AsmPrinter::emitDwarfAbbrev().
◆ getData()
◆ getNumber()
| unsigned llvm::DIEAbbrev::getNumber ( ) const | inline |
|---|
◆ getTag()
| dwarf::Tag llvm::DIEAbbrev::getTag ( ) const | inline |
|---|
◆ hasChildren()
| bool llvm::DIEAbbrev::hasChildren ( ) const | inline |
|---|
◆ print()
◆ Profile()
◆ setChildrenFlag()
| void llvm::DIEAbbrev::setChildrenFlag ( bool hasChild) | inline |
|---|
◆ setNumber()
| void llvm::DIEAbbrev::setNumber ( unsigned N) | inline |
|---|
The documentation for this class was generated from the following files: