|
LLVM
4.0.0
|
Dwarf abbreviation, describes the organization of a debug information object. More...
#include <DIE.h>
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. More... | |
| void | AddImplicitConstAttribute (dwarf::Attribute Attribute, int64_t Value) |
| Adds attribute with DW_FORM_implicit_const value. More... | |
| void | Profile (FoldingSetNodeID &ID) const |
| Used to gather unique data for the abbreviation folding set. More... | |
| void | Emit (const AsmPrinter *AP) const |
| Print the abbreviation using the specified asm printer. More... | |
| void | print (raw_ostream &O) |
| void | dump () |
| dwarf::Tag | getTag () const |
| Accessors. More... | |
| 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::FoldingSetImpl::Node | |
| Node () | |
| void * | getNextInBucket () const |
| void | SetNextInBucket (void *N) |
Dwarf abbreviation, describes the organization of a debug information object.
|
inline |
|
inline |
Adds another set of attribute information to the abbreviation.
Definition at line 108 of file DIE.h.
Referenced by llvm::DIE::generateAbbrev().
|
inline |
Adds attribute with DW_FORM_implicit_const value.
Definition at line 113 of file DIE.h.
Referenced by llvm::DIE::generateAbbrev().
| LLVM_DUMP_METHOD void DIEAbbrev::dump | ( | ) |
Definition at line 116 of file DIE.cpp.
References llvm::dbgs(), and print().
| void DIEAbbrev::Emit | ( | const AsmPrinter * | AP | ) | const |
Print the abbreviation using the specified asm printer.
Emit - Print the abbreviation using the specified asm printer.
Definition at line 64 of file DIE.cpp.
References assert(), llvm::dwarf::AttributeString(), llvm::dwarf::ChildrenString(), llvm::AsmPrinter::EmitSLEB128(), llvm::AsmPrinter::EmitULEB128(), llvm::dwarf::FormEncodingString(), llvm::DIEAbbrevData::getAttribute(), llvm::AsmPrinter::getDwarfVersion(), llvm::DIEAbbrevData::getForm(), llvm::DIEAbbrevData::getValue(), i, N, and llvm::dwarf::TagString().
Referenced by llvm::AsmPrinter::emitDwarfAbbrev().
|
inline |
|
inline |
Definition at line 100 of file DIE.h.
Referenced by llvm::AsmPrinter::emitDwarfAbbrev().
|
inline |
|
inline |
Definition at line 101 of file DIE.h.
Referenced by llvm::DIE::computeOffsetsAndAbbrevs().
| LLVM_DUMP_METHOD void DIEAbbrev::print | ( | raw_ostream & | O | ) |
Definition at line 97 of file DIE.cpp.
References llvm::dwarf::AttributeString(), llvm::dwarf::ChildrenString(), llvm::format(), llvm::dwarf::FormEncodingString(), i, N, and llvm::dwarf::TagString().
Referenced by dump().
| void DIEAbbrev::Profile | ( | FoldingSetNodeID & | ID | ) | const |
Used to gather unique data for the abbreviation folding set.
Profile - Used to gather unique data for the abbreviation folding set.
Definition at line 53 of file DIE.cpp.
References llvm::FoldingSetNodeID::AddInteger(), i, and N.
Referenced by llvm::DIEAbbrevSet::uniqueAbbreviation().
|
inline |
Definition at line 104 of file DIE.h.
References N.
Referenced by llvm::DIEAbbrevSet::uniqueAbbreviation().
1.8.6