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

Methods

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)

Declared at: llvm/include/llvm/CodeGen/DIE.h:864

Parameters

const llvm::DIEUnit& RHS

DIEUnit(llvm::DIEUnit&& RHS)

Declared at: llvm/include/llvm/CodeGen/DIE.h:865

Parameters

llvm::DIEUnit&& RHS

uint16_t getAddressSize() const

Declared at: llvm/include/llvm/CodeGen/DIE.h:890

virtual const llvm::MCSymbol*
getCrossSectionRelativeBaseAddress() const

Declared at: llvm/include/llvm/CodeGen/DIE.h:877

unsigned int getDebugSectionOffset() const

Declared at: llvm/include/llvm/CodeGen/DIE.h:886

uint16_t getDwarfVersion() const

Declared at: llvm/include/llvm/CodeGen/DIE.h:889

uint64_t getLength() const

Declared at: llvm/include/llvm/CodeGen/DIE.h:888

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()

Declared at: llvm/include/llvm/CodeGen/DIE.h:891

const llvm::DIE& getUnitDie() const

Declared at: llvm/include/llvm/CodeGen/DIE.h:892

void setDebugSectionOffset(unsigned int O)

Declared at: llvm/include/llvm/CodeGen/DIE.h:885

Parameters

unsigned int O

void setLength(uint64_t L)

Declared at: llvm/include/llvm/CodeGen/DIE.h:887

Parameters

uint64_t L

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()

Description

The size in bytes of an address for this unit.

Declared at: llvm/include/llvm/CodeGen/DIE.h:860