LLVM: llvm::DwarfFile Class Reference (original) (raw)
#include "[CodeGen/AsmPrinter/DwarfFile.h](DwarfFile%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| DwarfFile (AsmPrinter *AP, StringRef Pref, BumpPtrAllocator &DA) | |
| const SmallVectorImpl< std::unique_ptr< DwarfCompileUnit > > & | getUnits () |
| std::pair< uint32_t, RangeSpanList * > | addRange (const DwarfCompileUnit &CU, SmallVector< RangeSpan, 2 > R) |
| const SmallVectorImpl< RangeSpanList > & | getRangeLists () const |
| getRangeLists - Get the vector of range lists. | |
| unsigned | computeSizeAndOffset (DIE &Die, unsigned Offset) |
| Compute the size and offset of a DIE given an incoming Offset. | |
| void | computeSizeAndOffsets () |
| Compute the size and offset of all the DIEs. | |
| unsigned | computeSizeAndOffsetsForUnit (DwarfUnit *TheU) |
| Compute the size and offset of all the DIEs in the given unit. | |
| void | addUnit (std::unique_ptr< DwarfCompileUnit > U) |
| Add a unit to the list of CUs. | |
| void | emitUnits (bool UseOffsets) |
| Emit all of the units to the section listed with the given abbreviation section. | |
| void | emitUnit (DwarfUnit *TheU, bool UseOffsets) |
| Emit the given unit to its section. | |
| void | emitAbbrevs (MCSection *) |
| Emit a set of abbreviations to the specific section. | |
| void | emitStrings (MCSection *StrSection, MCSection *OffsetSection=nullptr, bool UseRelativeOffsets=false) |
| Emit all of the strings to the section given. | |
| DwarfStringPool & | getStringPool () |
| Returns the string pool. | |
| MCSymbol * | getStringOffsetsStartSym () const |
| void | setStringOffsetsStartSym (MCSymbol *Sym) |
| MCSymbol * | getRnglistsTableBaseSym () const |
| void | setRnglistsTableBaseSym (MCSymbol *Sym) |
| void | addScopeVariable (LexicalScope *LS, DbgVariable *Var) |
| void | addScopeLabel (LexicalScope *LS, DbgLabel *Label) |
| DenseMap< LexicalScope *, ScopeVars > & | getScopeVariables () |
| DenseMap< LexicalScope *, LabelList > & | getScopeLabels () |
| DenseMap< const DILocalScope *, DIE * > & | getAbstractScopeDIEs () |
| DenseMap< const DINode *, std::unique_ptr< DbgEntity > > & | getAbstractEntities () |
| auto & | getFinalizedAbstractSubprograms () |
| void | insertDIE (const MDNode *TypeMD, DIE *Die) |
| DIE * | getDIE (const MDNode *TypeMD) |
Definition at line 56 of file DwarfFile.h.
◆ addRange()
◆ addScopeLabel()
◆ addScopeVariable()
◆ addUnit()
Add a unit to the list of CUs.
Definition at line 23 of file DwarfFile.cpp.
◆ computeSizeAndOffset()
◆ computeSizeAndOffsets()
| void DwarfFile::computeSizeAndOffsets | ( | ) |
|---|
◆ computeSizeAndOffsetsForUnit()
◆ emitAbbrevs()
| void DwarfFile::emitAbbrevs | ( | MCSection * | Section | ) |
|---|
Emit a set of abbreviations to the specific section.
Definition at line 97 of file DwarfFile.cpp.
◆ emitStrings()
| void DwarfFile::emitStrings | ( | MCSection * | StrSection, |
|---|---|---|---|
| MCSection * | OffsetSection = nullptr, | ||
| bool | UseRelativeOffsets = false ) |
Emit all of the strings to the section given.
If OffsetSection is non-null, emit a table of string offsets to it. If UseRelativeOffsets is false, emit absolute offsets to the strings. Otherwise, emit relocatable references to the strings if they are supported by the target.
Definition at line 100 of file DwarfFile.cpp.
◆ emitUnit()
◆ emitUnits()
| void DwarfFile::emitUnits | ( | bool | UseOffsets | ) |
|---|
Emit all of the units to the section listed with the given abbreviation section.
Definition at line 29 of file DwarfFile.cpp.
References emitUnit().
◆ getAbstractEntities()
◆ getAbstractScopeDIEs()
◆ getDIE()
◆ getFinalizedAbstractSubprograms()
| auto & llvm::DwarfFile::getFinalizedAbstractSubprograms ( ) | inline |
|---|
◆ getRangeLists()
◆ getRnglistsTableBaseSym()
| MCSymbol * llvm::DwarfFile::getRnglistsTableBaseSym ( ) const | inline |
|---|
◆ getScopeLabels()
◆ getScopeVariables()
◆ getStringOffsetsStartSym()
| MCSymbol * llvm::DwarfFile::getStringOffsetsStartSym ( ) const | inline |
|---|
◆ getStringPool()
◆ getUnits()
◆ insertDIE()
◆ setRnglistsTableBaseSym()
| void llvm::DwarfFile::setRnglistsTableBaseSym ( MCSymbol * Sym) | inline |
|---|
◆ setStringOffsetsStartSym()
| void llvm::DwarfFile::setStringOffsetsStartSym ( MCSymbol * Sym) | inline |
|---|
The documentation for this class was generated from the following files:
- lib/CodeGen/AsmPrinter/DwarfFile.h
- lib/CodeGen/AsmPrinter/DwarfFile.cpp