class LineTable

Declaration

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

Description

A DWARF line unit-like class used to generate DWARF line units. Instances of this class are created by instances of the Generator class.

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

Method Overview

  • public LineTable(uint16_t Version, dwarf::DwarfFormat Format, uint8_t AddrSize, uint8_t SegSize = 0)
  • public void addByte(uint8_t Value)
  • public void addExtendedOpcode(uint64_t Length, uint8_t Opcode, ArrayRef<llvm::dwarfgen::LineTable::ValueAndLength> Operands)
  • public void addStandardOpcode(uint8_t Opcode, ArrayRef<llvm::dwarfgen::LineTable::ValueAndLength> Operands)
  • public DWARFDebugLine::Prologue createBasicPrologue() const
  • public void generate(llvm::MCContext & MC, llvm::AsmPrinter & Asm) const
  • public void setCustomPrologue(ArrayRef<llvm::dwarfgen::LineTable::ValueAndLength> NewPrologue)
  • public void setPrologue(DWARFDebugLine::Prologue NewPrologue)

Methods

LineTable(uint16_t Version,
          dwarf::DwarfFormat Format,
          uint8_t AddrSize,
          uint8_t SegSize = 0)

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

Parameters

uint16_t Version
dwarf::DwarfFormat Format
uint8_t AddrSize
uint8_t SegSize = 0

void addByte(uint8_t Value)

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

Parameters

uint8_t Value

void addExtendedOpcode(
    uint64_t Length,
    uint8_t Opcode,
    ArrayRef<
        llvm::dwarfgen::LineTable::ValueAndLength>
        Operands)

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

Parameters

uint64_t Length
uint8_t Opcode
ArrayRef< llvm::dwarfgen::LineTable::ValueAndLength> Operands

void addStandardOpcode(
    uint8_t Opcode,
    ArrayRef<
        llvm::dwarfgen::LineTable::ValueAndLength>
        Operands)

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

Parameters

uint8_t Opcode
ArrayRef< llvm::dwarfgen::LineTable::ValueAndLength> Operands

DWARFDebugLine::Prologue createBasicPrologue()
    const

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

void generate(llvm::MCContext& MC,
              llvm::AsmPrinter& Asm) const

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

Parameters

llvm::MCContext& MC
llvm::AsmPrinter& Asm

void setCustomPrologue(
    ArrayRef<
        llvm::dwarfgen::LineTable::ValueAndLength>
        NewPrologue)

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

Parameters

ArrayRef< llvm::dwarfgen::LineTable::ValueAndLength> NewPrologue

void setPrologue(
    DWARFDebugLine::Prologue NewPrologue)

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

Parameters

DWARFDebugLine::Prologue NewPrologue