Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
llvm::DIEUnit Class Reference

Represents a compile or type unit. More...

#include "llvm/CodeGen/DIE.h"

Inheritance diagram for llvm::DIEUnit:
[legend]

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 MCSymbolgetCrossSectionRelativeBaseAddress () const
MCSectiongetSection () const
 Return the section that this DIEUnit will be emitted into.
void setDebugSectionOffset (uint64_t O)
uint64_t getDebugSectionOffset () const
DIEgetUnitDie ()
const DIEgetUnitDie () const

Protected Member Functions

virtual ~DIEUnit ()=default
 .debug_info or .debug_types absolute section offset.

Detailed Description

Represents a compile or type unit.

Definition at line 970 of file DIE.h.

Constructor & Destructor Documentation

◆ ~DIEUnit()

virtual llvm::DIEUnit::~DIEUnit ( )
protectedvirtualdefault

.debug_info or .debug_types absolute section offset.

References LLVM_ABI.

◆ DIEUnit() [1/3]

DIEUnit::DIEUnit ( dwarf::Tag UnitTag)
explicit

◆ DIEUnit() [2/3]

llvm::DIEUnit::DIEUnit ( const DIEUnit & RHS)
delete

References DIEUnit(), and RHS.

◆ DIEUnit() [3/3]

llvm::DIEUnit::DIEUnit ( DIEUnit && RHS)
delete

References DIEUnit(), and RHS.

Member Function Documentation

◆ getCrossSectionRelativeBaseAddress()

virtual const MCSymbol * llvm::DIEUnit::getCrossSectionRelativeBaseAddress ( ) const
inlinevirtual

Definition at line 999 of file DIE.h.

◆ getDebugSectionOffset()

uint64_t llvm::DIEUnit::getDebugSectionOffset ( ) const
inline

Definition at line 1008 of file DIE.h.

◆ getSection()

MCSection * llvm::DIEUnit::getSection ( ) const
inline

Return the section that this DIEUnit will be emitted into.

Returns
Section pointer which can be NULL.

Definition at line 1006 of file DIE.h.

Referenced by llvm::DwarfFile::emitUnit().

◆ getUnitDie() [1/2]

◆ getUnitDie() [2/2]

const DIE & llvm::DIEUnit::getUnitDie ( ) const
inline

Definition at line 1010 of file DIE.h.

◆ operator=() [1/2]

void llvm::DIEUnit::operator= ( const DIEUnit && RHS)
delete

References DIEUnit(), and RHS.

◆ operator=() [2/2]

void llvm::DIEUnit::operator= ( const DIEUnit & RHS)
delete

References DIEUnit(), and RHS.

◆ setDebugSectionOffset()

void llvm::DIEUnit::setDebugSectionOffset ( uint64_t O)
inline

Definition at line 1007 of file DIE.h.

◆ setSection()

void llvm::DIEUnit::setSection ( MCSection * Section)
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 994 of file DIE.h.

References assert().

Referenced by llvm::DwarfDebug::addDwarfTypeUnitType().


The documentation for this class was generated from the following files: