LLVM
8.0.1
|
Helps unique DIEAbbrev objects and assigns abbreviation numbers. More...
#include "llvm/CodeGen/DIE.h"
Public Member Functions | |
DIEAbbrevSet (BumpPtrAllocator &A) | |
~DIEAbbrevSet () | |
DIEAbbrev & | uniqueAbbreviation (DIE &Die) |
Generate the abbreviation declaration for a DIE and return a pointer to the generated abbreviation. More... | |
void | Emit (const AsmPrinter *AP, MCSection *Section) const |
Print all abbreviations using the specified asm printer. More... | |
Helps unique DIEAbbrev objects and assigns abbreviation numbers.
This class will unique the DIE abbreviations for a llvm::DIE object and assign a unique abbreviation number to each unique DIEAbbrev object it finds. The resulting collection of DIEAbbrev objects can then be emitted into the .debug_abbrev section.
|
inline |
Definition at line 145 of file DIE.h.
References llvm::ARMBuildAttrs::Section.
void DIEAbbrevSet::Emit | ( | const AsmPrinter * | AP, |
MCSection * | Section | ||
) | const |
Print all abbreviations using the specified asm printer.
Definition at line 171 of file DIE.cpp.
References llvm::AsmPrinter::emitDwarfAbbrevs(), and llvm::AsmPrinter::OutStreamer.
Referenced by llvm::DwarfFile::emitAbbrevs().
Generate the abbreviation declaration for a DIE and return a pointer to the generated abbreviation.
Die | the debug info entry to generate the abbreviation for. |
Definition at line 147 of file DIE.cpp.
References llvm::DIE::generateAbbrev(), llvm::DIEAbbrev::Profile(), and llvm::DIE::setAbbrevNumber().
Referenced by llvm::DIE::computeOffsetsAndAbbrevs().