forked from OSchip/llvm-project
Make DWARFExpression::GetLocationExpression public
This method is used to get the DataExtractor when the expression is a location list. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D86090
This commit is contained in:
parent
ed17b6f630
commit
4e266eaf13
|
@ -219,6 +219,10 @@ public:
|
|||
|
||||
bool MatchesOperand(StackFrame &frame, const Instruction::Operand &op);
|
||||
|
||||
llvm::Optional<DataExtractor>
|
||||
GetLocationExpression(lldb::addr_t load_function_start,
|
||||
lldb::addr_t addr) const;
|
||||
|
||||
private:
|
||||
/// Pretty-prints the location expression to a stream
|
||||
///
|
||||
|
@ -237,10 +241,6 @@ private:
|
|||
void DumpLocation(Stream *s, const DataExtractor &data,
|
||||
lldb::DescriptionLevel level, ABI *abi) const;
|
||||
|
||||
llvm::Optional<DataExtractor>
|
||||
GetLocationExpression(lldb::addr_t load_function_start,
|
||||
lldb::addr_t addr) const;
|
||||
|
||||
/// Module which defined this expression.
|
||||
lldb::ModuleWP m_module_wp;
|
||||
|
||||
|
|
Loading…
Reference in New Issue