struct CFIProgram::Instruction

Declaration

struct CFIProgram::Instruction { /* full declaration omitted */ };

Description

An instruction consists of a DWARF CFI opcode and an optional sequence of operands. If it refers to an expression, then this expression has its own sequence of operations and operands handled separately by DWARFExpression.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:413

Member Variables

public uint8_t Opcode
public llvm::dwarf::CFIProgram::Operands Ops
public Optional<llvm::DWARFExpression> Expression

Method Overview

  • public Instruction(uint8_t Opcode)
  • public Expected<int64_t> getOperandAsSigned(const llvm::dwarf::CFIProgram & CFIP, uint32_t OperandIdx) const
  • public Expected<uint64_t> getOperandAsUnsigned(const llvm::dwarf::CFIProgram & CFIP, uint32_t OperandIdx) const

Methods

Instruction(uint8_t Opcode)

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:414

Parameters

uint8_t Opcode

Expected<int64_t> getOperandAsSigned(
    const llvm::dwarf::CFIProgram& CFIP,
    uint32_t OperandIdx) const

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:424

Parameters

const llvm::dwarf::CFIProgram& CFIP
uint32_t OperandIdx

Expected<uint64_t> getOperandAsUnsigned(
    const llvm::dwarf::CFIProgram& CFIP,
    uint32_t OperandIdx) const

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:421

Parameters

const llvm::dwarf::CFIProgram& CFIP
uint32_t OperandIdx