@@ -52,10 +52,10 @@ class DWARFExpression {
52
52
GetVendorDWARFOpcodeSize (const DataExtractor &data,
53
53
const lldb::offset_t data_offset,
54
54
const uint8_t op) const = 0 ;
55
- virtual bool ParseVendorDWARFOpcode ( uint8_t op,
56
- const DataExtractor &opcodes,
57
- lldb::offset_t &offset,
58
- Stack &stack) const = 0;
55
+ virtual bool
56
+ ParseVendorDWARFOpcode ( uint8_t op, const DataExtractor &opcodes,
57
+ lldb::offset_t &offset, RegisterContext *reg_ctx ,
58
+ lldb::RegisterKind reg_kind, Stack &stack) const = 0 ;
59
59
60
60
Delegate (const Delegate &) = delete ;
61
61
Delegate &operator =(const Delegate &) = delete ;
@@ -163,6 +163,10 @@ class DWARFExpression {
163
163
164
164
bool MatchesOperand (StackFrame &frame, const Instruction::Operand &op) const ;
165
165
166
+ static llvm::Error ReadRegisterValueAsScalar (RegisterContext *reg_ctx,
167
+ lldb::RegisterKind reg_kind,
168
+ uint32_t reg_num, Value &value);
169
+
166
170
private:
167
171
// / A data extractor capable of reading opcode bytes
168
172
DataExtractor m_data;
0 commit comments