@@ -52,10 +52,10 @@ class DWARFExpression {
5252 GetVendorDWARFOpcodeSize (const DataExtractor &data,
5353 const lldb::offset_t data_offset,
5454 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 ;
5959
6060 Delegate (const Delegate &) = delete ;
6161 Delegate &operator =(const Delegate &) = delete ;
@@ -163,6 +163,10 @@ class DWARFExpression {
163163
164164 bool MatchesOperand (StackFrame &frame, const Instruction::Operand &op) const ;
165165
166+ static llvm::Error ReadRegisterValueAsScalar (RegisterContext *reg_ctx,
167+ lldb::RegisterKind reg_kind,
168+ uint32_t reg_num, Value &value);
169+
166170private:
167171 // / A data extractor capable of reading opcode bytes
168172 DataExtractor m_data;
0 commit comments