LLVM  13.0.0git
Public Member Functions | Protected Member Functions | List of all members
llvm::DIEUnit Class Reference

Represents a compile or type unit. More...

#include "llvm/CodeGen/DIE.h"

Inheritance diagram for llvm::DIEUnit:
Inheritance graph
[legend]

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. More...
 
virtual const MCSymbolgetCrossSectionRelativeBaseAddress () const
 
MCSectiongetSection () const
 Return the section that this DIEUnit will be emitted into. More...
 
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. More...
 

Detailed Description

Represents a compile or type unit.

Definition at line 872 of file DIE.h.

Constructor & Destructor Documentation

◆ ~DIEUnit()

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

.debug_info or .debug_types absolute section offset.

◆ DIEUnit() [1/3]

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

Definition at line 316 of file DIE.cpp.

References assert().

◆ DIEUnit() [2/3]

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

◆ DIEUnit() [3/3]

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

Member Function Documentation

◆ getCrossSectionRelativeBaseAddress()

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

Definition at line 901 of file DIE.h.

Referenced by llvm::DIEEntry::emitValue().

◆ getDebugSectionOffset()

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

Definition at line 910 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 908 of file DIE.h.

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

◆ getUnitDie() [1/2]

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

◆ getUnitDie() [2/2]

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

Definition at line 912 of file DIE.h.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ setDebugSectionOffset()

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

Definition at line 909 of file DIE.h.

References llvm::RISCVFenceField::O.

◆ 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 896 of file DIE.h.

References assert().

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


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