|
LLVM 24.0.0git
|
Represents a DWARF unit. More...
#include "llvm/CodeGen/DIE.h"
Public Member Functions | |
| LLVM_ABI | DIEUnit (dwarf::Tag UnitTag) |
| DIEUnit (const DIEUnit &RHS)=delete | |
| DIEUnit (DIEUnit &&RHS)=delete | |
| void | operator= (const DIEUnit &RHS)=delete |
| void | operator= (const DIEUnit &&RHS)=delete |
| void | setSection (MCSection *Section) |
| Set the section that this DIEUnit will be emitted into. | |
| virtual const MCSymbol * | getCrossSectionRelativeBaseAddress () const |
| MCSection * | getSection () const |
| Return the section that this DIEUnit will be emitted into. | |
| void | setDebugSectionOffset (uint64_t O) |
| uint64_t | getDebugSectionOffset () const |
| DIE & | getUnitDie () |
| const DIE & | getUnitDie () const |
Protected Member Functions | |
| virtual | ~DIEUnit ()=default |
| .debug_info or .debug_types absolute section offset. | |
|
protectedvirtualdefault |
.debug_info or .debug_types absolute section offset.
References LLVM_ABI.
|
explicit |
Definition at line 298 of file DIE.cpp.
References assert(), and llvm::dwarf::isUnitType().
Referenced by llvm::DwarfUnit::addDIEEntry(), llvm::BasicDIEUnit::BasicDIEUnit(), DIEUnit(), DIEUnit(), llvm::DwarfUnit::DwarfUnit(), operator=(), and operator=().
|
inline |
|
inline |
Return the section that this DIEUnit will be emitted into.
Definition at line 1007 of file DIE.h.
Referenced by llvm::DwarfFile::emitUnit().
|
inline |
Definition at line 1010 of file DIE.h.
Referenced by llvm::DwarfCompileUnit::addAddrTableBase(), llvm::DwarfUnit::addDIEEntry(), llvm::DwarfDebug::addDwarfTypeUnitType(), llvm::DwarfCompileUnit::addGlobalNameForTypeUnit(), llvm::DwarfCompileUnit::addGlobalTypeUnitType(), llvm::DwarfUnit::addRnglistsBase(), llvm::DwarfUnit::addStringOffsetsStart(), llvm::DwarfFile::computeSizeAndOffsetsForUnit(), llvm::DwarfCompileUnit::createBaseTypeDIEs(), llvm::DwarfCompileUnit::DwarfCompileUnit(), llvm::DwarfUnit::emitCommonHeader(), llvm::DwarfFile::emitUnit(), llvm::NVPTXDwarfDebug::finishTargetUnitAttributes(), llvm::DwarfCompileUnit::getLength(), llvm::DwarfUnit::getOrCreateContextDIE(), llvm::DwarfUnit::getOrCreateSubprogramContextDIE(), llvm::dwarf_linker::classic::CompileUnit::getOutputUnitDIE(), and llvm::DwarfCompileUnit::initStmtList().
|
inline |
|
inline |
Set the section that this DIEUnit will be emitted into.
This function is used by some clients to set the section. Not all clients that emit DWARF use this section variable.
Definition at line 995 of file DIE.h.
References assert().
Referenced by llvm::DwarfDebug::addDwarfTypeUnitType().