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
- public CompileUnit(llvm::dwarfgen::Generator & D, uint16_t V, uint8_t A)
- public uint16_t getAddressSize() const
- public llvm::dwarfgen::Generator & getGenerator()
- public uint64_t getLength() const
- public uint64_t getOffset() const
- public llvm::dwarfgen::DIE getUnitDIE()
- public uint16_t getVersion() const
- public void setLength(uint64_t Length)
- public void setOffset(uint64_t Offset)
Methods
¶CompileUnit(llvm::dwarfgen::Generator& D,
uint16_t V,
uint8_t A)
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
uint16_t getAddressSize() const
Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:161
¶llvm::dwarfgen::Generator& getGenerator()
llvm::dwarfgen::Generator& getGenerator()
Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:157
¶uint64_t getLength() const
uint64_t getLength() const
Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:159
¶uint64_t getOffset() const
uint64_t getOffset() const
Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:158
¶llvm::dwarfgen::DIE getUnitDIE()
llvm::dwarfgen::DIE getUnitDIE()
Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:156
¶uint16_t getVersion() const
uint16_t getVersion() const
Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:160
¶void setLength(uint64_t Length)
void setLength(uint64_t Length)
Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:163
Parameters
- uint64_t Length
¶void setOffset(uint64_t Offset)
void setOffset(uint64_t Offset)
Declared at: llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h:162
Parameters
- uint64_t Offset