class DIEUnit
Declaration
class DIEUnit { /* full declaration omitted */ };
Description
Represents a compile or type unit.
Declared at: llvm/include/llvm/CodeGen/DIE.h:845
Method Overview
- public DIEUnit(uint16_t Version, uint8_t AddrSize, dwarf::Tag UnitTag)
- public DIEUnit(const llvm::DIEUnit & RHS)
- public DIEUnit(llvm::DIEUnit && RHS)
- public uint16_t getAddressSize() const
- public virtual const llvm::MCSymbol * getCrossSectionRelativeBaseAddress() const
- public unsigned int getDebugSectionOffset() const
- public uint16_t getDwarfVersion() const
- public uint64_t getLength() const
- public llvm::MCSection * getSection() const
- public llvm::DIE & getUnitDie()
- public const llvm::DIE & getUnitDie() const
- public void setDebugSectionOffset(unsigned int O)
- public void setLength(uint64_t L)
- public void setSection(llvm::MCSection * Section)
- protected virtual ~DIEUnit()
Methods
¶DIEUnit(uint16_t Version,
uint8_t AddrSize,
dwarf::Tag UnitTag)
DIEUnit(uint16_t Version,
uint8_t AddrSize,
dwarf::Tag UnitTag)
Declared at: llvm/include/llvm/CodeGen/DIE.h:863
Parameters
- uint16_t Version
- uint8_t AddrSize
- dwarf::Tag UnitTag
¶DIEUnit(const llvm::DIEUnit& RHS)
DIEUnit(const llvm::DIEUnit& RHS)
Declared at: llvm/include/llvm/CodeGen/DIE.h:864
Parameters
- const llvm::DIEUnit& RHS
¶DIEUnit(llvm::DIEUnit&& RHS)
DIEUnit(llvm::DIEUnit&& RHS)
Declared at: llvm/include/llvm/CodeGen/DIE.h:865
Parameters
- llvm::DIEUnit&& RHS
¶uint16_t getAddressSize() const
uint16_t getAddressSize() const
Declared at: llvm/include/llvm/CodeGen/DIE.h:890
¶virtual const llvm::MCSymbol*
getCrossSectionRelativeBaseAddress() const
virtual const llvm::MCSymbol*
getCrossSectionRelativeBaseAddress() const
Declared at: llvm/include/llvm/CodeGen/DIE.h:877
¶unsigned int getDebugSectionOffset() const
unsigned int getDebugSectionOffset() const
Declared at: llvm/include/llvm/CodeGen/DIE.h:886
¶uint16_t getDwarfVersion() const
uint16_t getDwarfVersion() const
Declared at: llvm/include/llvm/CodeGen/DIE.h:889
¶uint64_t getLength() const
uint64_t getLength() const
Declared at: llvm/include/llvm/CodeGen/DIE.h:888
¶llvm::MCSection* getSection() const
llvm::MCSection* getSection() const
Description
Return the section that this DIEUnit will be emitted into.
Declared at: llvm/include/llvm/CodeGen/DIE.h:884
Returns
Section pointer which can be NULL.
¶llvm::DIE& getUnitDie()
llvm::DIE& getUnitDie()
Declared at: llvm/include/llvm/CodeGen/DIE.h:891
¶const llvm::DIE& getUnitDie() const
const llvm::DIE& getUnitDie() const
Declared at: llvm/include/llvm/CodeGen/DIE.h:892
¶void setDebugSectionOffset(unsigned int O)
void setDebugSectionOffset(unsigned int O)
Declared at: llvm/include/llvm/CodeGen/DIE.h:885
Parameters
- unsigned int O
¶void setLength(uint64_t L)
void setLength(uint64_t L)
Declared at: llvm/include/llvm/CodeGen/DIE.h:887
Parameters
- uint64_t L
¶void setSection(llvm::MCSection* Section)
void setSection(llvm::MCSection* Section)
Description
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.
Declared at: llvm/include/llvm/CodeGen/DIE.h:872
Parameters
- llvm::MCSection* Section
¶virtual ~DIEUnit()
virtual ~DIEUnit()
Description
The size in bytes of an address for this unit.
Declared at: llvm/include/llvm/CodeGen/DIE.h:860