LLVM: llvm::dwarf::CFIProgram::Instruction Struct Reference (original) (raw)

An instruction consists of a DWARF CFI opcode and an optional sequence of operands. More...

#include "[llvm/DebugInfo/DWARF/LowLevel/DWARFCFIProgram.h](DWARFCFIProgram%5F8h%5Fsource.html)"

Detailed 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.

Definition at line 40 of file DWARFCFIProgram.h.

Constructor & Destructor Documentation

llvm::dwarf::CFIProgram::Instruction::Instruction ( uint8_t Opcode) inline

Member Function Documentation

getOperandAsSigned()

Definition at line 90 of file DWARFCFIProgram.cpp.

References llvm::dwarf::CFIProgram::CFIProgram(), llvm::createStringError(), llvm::dwarf::CFIProgram::dataAlign(), llvm::dwarf::CFIProgram::getOperandTypes(), llvm::invalid_argument, llvm_unreachable, llvm::dwarf::CFIProgram::MaxOperands, Opcode, llvm::dwarf::CFIProgram::operandTypeString(), Ops, llvm::dwarf::CFIProgram::OT_Address, llvm::dwarf::CFIProgram::OT_AddressSpace, llvm::dwarf::CFIProgram::OT_Expression, llvm::dwarf::CFIProgram::OT_FactoredCodeOffset, llvm::dwarf::CFIProgram::OT_None, llvm::dwarf::CFIProgram::OT_Offset, llvm::dwarf::CFIProgram::OT_Register, llvm::dwarf::CFIProgram::OT_SignedFactDataOffset, llvm::dwarf::CFIProgram::OT_Unset, and llvm::dwarf::CFIProgram::OT_UnsignedFactDataOffset.

getOperandAsUnsigned()

Definition at line 45 of file DWARFCFIProgram.cpp.

References llvm::dwarf::CFIProgram::CFIProgram(), llvm::dwarf::CFIProgram::codeAlign(), llvm::createStringError(), llvm::dwarf::CFIProgram::getOperandTypes(), llvm::invalid_argument, llvm_unreachable, llvm::dwarf::CFIProgram::MaxOperands, Opcode, llvm::dwarf::CFIProgram::operandTypeString(), Ops, llvm::dwarf::CFIProgram::OT_Address, llvm::dwarf::CFIProgram::OT_AddressSpace, llvm::dwarf::CFIProgram::OT_Expression, llvm::dwarf::CFIProgram::OT_FactoredCodeOffset, llvm::dwarf::CFIProgram::OT_None, llvm::dwarf::CFIProgram::OT_Offset, llvm::dwarf::CFIProgram::OT_Register, llvm::dwarf::CFIProgram::OT_SignedFactDataOffset, llvm::dwarf::CFIProgram::OT_Unset, and llvm::dwarf::CFIProgram::OT_UnsignedFactDataOffset.

Member Data Documentation

Expression

std::optional<DWARFExpression> llvm::dwarf::CFIProgram::Instruction::Expression

Opcode

uint8_t llvm::dwarf::CFIProgram::Instruction::Opcode

Ops

Operands llvm::dwarf::CFIProgram::Instruction::Ops


The documentation for this struct was generated from the following files: