class DWARFExpression::Operation

Declaration

class DWARFExpression::Operation { /* full declaration omitted */ };

Description

This class represents an Operation in the Expression. Each operation can have up to 2 oprerands. An Operation can be in Error state (check with isError()). This means that it couldn't be decoded successfully and if it is the case, all others fields contain undefined values.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h:32

Method Overview

  • public bool extract(llvm::DataExtractor Data, uint16_t Version, uint8_t AddressSize, uint64_t Offset)
  • public uint8_t getCode()
  • public llvm::DWARFExpression::Operation::Description & getDescription()
  • public uint64_t getEndOffset()
  • public uint64_t getOperandEndOffset(unsigned int Idx)
  • public uint64_t getRawOperand(unsigned int Idx)
  • public bool isError()
  • public bool print(llvm::raw_ostream & OS, const llvm::DWARFExpression * Expr, const llvm::MCRegisterInfo * RegInfo, llvm::DWARFUnit * U, bool isEH)
  • public bool verify(llvm::DWARFUnit * U)

Methods

bool extract(llvm::DataExtractor Data,
             uint16_t Version,
             uint8_t AddressSize,
             uint64_t Offset)

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h:90

Parameters

llvm::DataExtractor Data
uint16_t Version
uint8_t AddressSize
uint64_t Offset

uint8_t getCode()

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h:86

llvm::DWARFExpression::Operation::Description&
getDescription()

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h:85

uint64_t getEndOffset()

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h:89

uint64_t getOperandEndOffset(unsigned int Idx)

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h:88

Parameters

unsigned int Idx

uint64_t getRawOperand(unsigned int Idx)

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h:87

Parameters

unsigned int Idx

bool isError()

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h:92

bool print(llvm::raw_ostream& OS,
           const llvm::DWARFExpression* Expr,
           const llvm::MCRegisterInfo* RegInfo,
           llvm::DWARFUnit* U,
           bool isEH)

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h:93

Parameters

llvm::raw_ostream& OS
const llvm::DWARFExpression* Expr
const llvm::MCRegisterInfo* RegInfo
llvm::DWARFUnit* U
bool isEH

bool verify(llvm::DWARFUnit* U)

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h:95

Parameters

llvm::DWARFUnit* U