LLVM  4.0.0
Public Member Functions | List of all members
llvm::DIEUnit Class Reference

Represents a compile or type unit. More...

#include <DIE.h>

Inheritance diagram for llvm::DIEUnit:
[legend]

Public Member Functions

 DIEUnit (uint16_t Version, uint8_t AddrSize, dwarf::Tag UnitTag)
 The size in bytes of an address for this unit. More...
 
 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...
 
MCSectiongetSection () 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
 
DIEgetUnitDie ()
 
const DIEgetUnitDie () const
 

Detailed Description

Represents a compile or type unit.

Definition at line 782 of file DIE.h.

Constructor & Destructor Documentation

DIEUnit::DIEUnit ( uint16_t  Version,
uint8_t  AddrSize,
dwarf::Tag  UnitTag 
)

The size in bytes of an address for this unit.

Definition at line 296 of file DIE.cpp.

References assert().

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

Member Function Documentation

uint16_t llvm::DIEUnit::getAddressSize ( ) const
inline

Definition at line 820 of file DIE.h.

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

Definition at line 816 of file DIE.h.

Referenced by llvm::DIE::getDebugSectionOffset().

uint16_t llvm::DIEUnit::getDwarfVersion ( ) const
inline

Definition at line 819 of file DIE.h.

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

Definition at line 818 of file DIE.h.

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

Referenced by llvm::DwarfFile::emitUnit(), and llvm::DwarfCompileUnit::getLabelBegin().

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

Definition at line 822 of file DIE.h.

void llvm::DIEUnit::operator= ( const DIEUnit RHS)
delete
void llvm::DIEUnit::operator= ( const DIEUnit &&  RHS)
delete
void llvm::DIEUnit::setDebugSectionOffset ( unsigned  O)
inline

Definition at line 815 of file DIE.h.

void llvm::DIEUnit::setLength ( uint64_t  L)
inline

Definition at line 817 of file DIE.h.

References L.

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

References assert().


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