class CompileUnit

Declaration

class CompileUnit { /* full declaration omitted */ };

Description

A DWARF compile unit used to generate DWARF compile/type units. Instances of these classes are created by instances of the Generator class. All information required to generate a DWARF compile unit is contained inside this class.

Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:149

Method Overview

Methods

CompileUnit(llvm::dwarfgen::Generator& D,
            uint16_t V,
            uint8_t A)

Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:154

Parameters

llvm::dwarfgen::Generator& D
uint16_t V
uint8_t A

uint16_t getAddressSize() const

Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:161

llvm::dwarfgen::Generator& getGenerator()

Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:157

uint64_t getLength() const

Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:159

uint64_t getOffset() const

Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:158

llvm::dwarfgen::DIE getUnitDIE()

Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:156

uint16_t getVersion() const

Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:160

void setLength(uint64_t Length)

Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:163

Parameters

uint64_t Length

void setOffset(uint64_t Offset)

Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:162

Parameters

uint64_t Offset