struct DWARFDebugLine::Row

Declaration

struct DWARFDebugLine::Row { /* full declaration omitted */ };

Description

Standard .debug_line state machine structure.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:145

Member Variables

public object::SectionedAddress Address
The program-counter value corresponding to a machine instruction generated by the compiler and section index pointing to the section containg this PC. If relocation information is present then section index is the index of the section which contains above address. Otherwise this is object::SectionedAddress::Undef value.
public uint32_t Line
An unsigned integer indicating a source line number. Lines are numbered beginning at 1. The compiler may emit the value 0 in cases where an instruction cannot be attributed to any source line.
public uint16_t Column
An unsigned integer indicating a column number within a source line. Columns are numbered beginning at 1. The value 0 is reserved to indicate that a statement begins at the 'left edge' of the line.
public uint16_t File
An unsigned integer indicating the identity of the source file corresponding to a machine instruction.
public uint32_t Discriminator
An unsigned integer representing the DWARF path discriminator value for this location.
public uint8_t Isa
An unsigned integer whose value encodes the applicable instruction set architecture for the current instruction.
public uint8_t IsStmt
A boolean indicating that the current instruction is the beginning of a statement.
public uint8_t BasicBlock
A boolean indicating that the current instruction is the beginning of a basic block.
public uint8_t EndSequence
A boolean indicating that the current address is that of the first byte after the end of a sequence of target machine instructions.
public uint8_t PrologueEnd
A boolean indicating that the current address is one (of possibly many) where execution should be suspended for an entry breakpoint of a function.
public uint8_t EpilogueBegin
A boolean indicating that the current address is one (of possibly many) where execution should be suspended for an exit breakpoint of a function.

Method Overview

  • public Row(bool DefaultIsStmt = false)
  • public void dump(llvm::raw_ostream & OS) const
  • public static void dumpTableHeader(llvm::raw_ostream & OS)
  • public static bool orderByAddress(const llvm::DWARFDebugLine::Row & LHS, const llvm::DWARFDebugLine::Row & RHS)
  • public void postAppend()
  • public void reset(bool DefaultIsStmt)

Methods

Row(bool DefaultIsStmt = false)

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:146

Parameters

bool DefaultIsStmt = false

void dump(llvm::raw_ostream& OS) const

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:151

Parameters

llvm::raw_ostream& OS

static void dumpTableHeader(llvm::raw_ostream& OS)

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:153

Parameters

llvm::raw_ostream& OS

static bool orderByAddress(
    const llvm::DWARFDebugLine::Row& LHS,
    const llvm::DWARFDebugLine::Row& RHS)

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:155

Parameters

const llvm::DWARFDebugLine::Row& LHS
const llvm::DWARFDebugLine::Row& RHS

void postAppend()

Description

Called after a row is appended to the matrix.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:149

void reset(bool DefaultIsStmt)

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:150

Parameters

bool DefaultIsStmt