LLVM
8.0.1
|
Represents a compile or type unit. More...
#include "llvm/CodeGen/DIE.h"
Public Member Functions | |
DIEUnit (uint16_t Version, uint8_t AddrSize, 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. More... | |
virtual const MCSymbol * | getCrossSectionRelativeBaseAddress () const |
MCSection * | getSection () const |
Return the section that this DIEUnit will be emitted into. More... | |
void | setDebugSectionOffset (unsigned O) |
unsigned | getDebugSectionOffset () const |
void | setLength (uint64_t L) |
uint64_t | getLength () const |
uint16_t | getDwarfVersion () const |
uint16_t | getAddressSize () const |
DIE & | getUnitDie () |
const DIE & | getUnitDie () const |
Protected Member Functions | |
~DIEUnit ()=default | |
The size in bytes of an address for this unit. More... | |
|
protecteddefault |
The size in bytes of an address for this unit.
DIEUnit::DIEUnit | ( | uint16_t | Version, |
uint8_t | AddrSize, | ||
dwarf::Tag | UnitTag | ||
) |
|
delete |
|
inline |
Definition at line 829 of file DIE.h.
Referenced by computeIndexValue(), and llvm::DIE::getDebugSectionOffset().
|
inline |
Definition at line 832 of file DIE.h.
References llvm::IndexedInstrProf::Version.
|
inline |
Return the section that this DIEUnit will be emitted into.
Definition at line 827 of file DIE.h.
References llvm::ARMBuildAttrs::Section.
Referenced by llvm::DwarfTypeUnit::addGlobalType(), computeIndexValue(), llvm::DwarfFile::emitUnit(), and llvm::DwarfCompileUnit::getLabelBegin().
|
inline |
Definition at line 834 of file DIE.h.
Referenced by llvm::DwarfCompileUnit::addAddrTableBase(), llvm::DwarfUnit::addDIEEntry(), llvm::DwarfCompileUnit::addGlobalNameForTypeUnit(), llvm::DwarfCompileUnit::addGlobalTypeUnitType(), llvm::DwarfUnit::addLoclistsBase(), llvm::DwarfUnit::addRnglistsBase(), llvm::DwarfUnit::addStringOffsetsStart(), llvm::DwarfUnit::applySubprogramAttributes(), llvm::DwarfDebug::beginModule(), llvm::DwarfFile::computeSizeAndOffsetsForUnit(), llvm::DwarfCompileUnit::constructAbstractSubprogramScopeDIE(), llvm::DwarfUnit::emitCommonHeader(), emitDebugRangesImpl(), llvm::DwarfFile::emitUnit(), llvm::DwarfCompileUnit::getLength(), llvm::DwarfUnit::getMD5AsBytes(), llvm::DwarfUnit::getOrCreateContextDIE(), llvm::DwarfUnit::getOrCreateSubprogramDIE(), llvm::DwarfUnit::hasContent(), llvm::DwarfCompileUnit::initStmtList(), and llvm::DwarfDebug::shareAcrossDWOCUs().
|
inline |
Definition at line 828 of file DIE.h.
References llvm::RISCVFenceField::O.
|
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 815 of file DIE.h.
References assert(), and llvm::ARMBuildAttrs::Section.
Referenced by emitDebugRangesImpl().