LLVM 17.0.0git
|
Represents a compile or type unit. More...
#include "llvm/CodeGen/DIE.h"
Public Member Functions | |
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.
|
explicit |
|
delete |
Definition at line 916 of file DIE.h.
Referenced by llvm::DIEEntry::emitValue().
|
inline |
|
inline |
Return the section that this DIEUnit will be emitted into.
Definition at line 923 of file DIE.h.
Referenced by llvm::DwarfFile::emitUnit().
|
inline |
Definition at line 926 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::constructAbstractSubprogramScopeDIE(), llvm::DwarfCompileUnit::createBaseTypeDIEs(), llvm::DwarfCompileUnit::DwarfCompileUnit(), llvm::DwarfUnit::emitCommonHeader(), llvm::DwarfFile::emitUnit(), llvm::DwarfCompileUnit::getLength(), llvm::DwarfUnit::getOrCreateContextDIE(), llvm::DwarfUnit::getOrCreateSubprogramDIE(), llvm::CompileUnit::getOutputUnitDIE(), llvm::DwarfUnit::hasContent(), 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 911 of file DIE.h.
References assert().
Referenced by llvm::DwarfDebug::addDwarfTypeUnitType().