LLDB  mainline
Functions
DWARFExpression.cpp File Reference
#include "lldb/Expression/DWARFExpression.h"
#include <cinttypes>
#include <vector>
#include "lldb/Core/Module.h"
#include "lldb/Core/Value.h"
#include "lldb/Core/dwarf.h"
#include "lldb/Utility/DataEncoder.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/RegisterValue.h"
#include "lldb/Utility/Scalar.h"
#include "lldb/Utility/StreamString.h"
#include "lldb/Utility/VMRange.h"
#include "lldb/Host/Host.h"
#include "lldb/Utility/Endian.h"
#include "lldb/Symbol/Function.h"
#include "lldb/Target/ABI.h"
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/StackFrame.h"
#include "lldb/Target/StackID.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "Plugins/SymbolFile/DWARF/DWARFUnit.h"
Include dependency graph for DWARFExpression.cpp:

Go to the source code of this file.

Functions

static lldb::addr_t ReadAddressFromDebugAddrSection (const DWARFUnit *dwarf_cu, uint32_t index)
 
static bool ReadRegisterValueAsScalar (RegisterContext *reg_ctx, lldb::RegisterKind reg_kind, uint32_t reg_num, Status *error_ptr, Value &value)
 
static offset_t GetOpcodeDataSize (const DataExtractor &data, const lldb::offset_t data_offset, const uint8_t op)
 Return the length in bytes of the set of operands for op. More...
 
static bool Evaluate_DW_OP_entry_value (std::vector< Value > &stack, ExecutionContext *exe_ctx, RegisterContext *reg_ctx, const DataExtractor &opcodes, lldb::offset_t &opcode_offset, Status *error_ptr, Log *log)
 
static DataExtractor ToDataExtractor (const llvm::DWARFLocationExpression &loc, ByteOrder byte_order, uint32_t addr_size)
 

Function Documentation

◆ Evaluate_DW_OP_entry_value()

static bool Evaluate_DW_OP_entry_value ( std::vector< Value > &  stack,
ExecutionContext exe_ctx,
RegisterContext reg_ctx,
const DataExtractor opcodes,
lldb::offset_t opcode_offset,
Status error_ptr,
Log log 
)
static

◆ GetOpcodeDataSize()

static offset_t GetOpcodeDataSize ( const DataExtractor data,
const lldb::offset_t  data_offset,
const uint8_t  op 
)
static

◆ ReadAddressFromDebugAddrSection()

static lldb::addr_t ReadAddressFromDebugAddrSection ( const DWARFUnit dwarf_cu,
uint32_t  index 
)
static

◆ ReadRegisterValueAsScalar()

static bool ReadRegisterValueAsScalar ( RegisterContext reg_ctx,
lldb::RegisterKind  reg_kind,
uint32_t  reg_num,
Status error_ptr,
Value value 
)
static

◆ ToDataExtractor()

static DataExtractor ToDataExtractor ( const llvm::DWARFLocationExpression &  loc,
ByteOrder  byte_order,
uint32_t  addr_size 
)
static