[Lldb-commits] [lldb] 4e266ea - Make DWARFExpression::GetLocationExpression public
Derek Schuff via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 20 15:14:46 PDT 2020
Author: Eric Leese
Date: 2020-08-20T15:12:28-07:00
New Revision: 4e266eaf132fa7e16eb6593dcfe4f4b9f55ea092
URL: https://github.com/llvm/llvm-project/commit/4e266eaf132fa7e16eb6593dcfe4f4b9f55ea092
DIFF: https://github.com/llvm/llvm-project/commit/4e266eaf132fa7e16eb6593dcfe4f4b9f55ea092.diff
LOG: 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
Added:
Modified:
lldb/include/lldb/Expression/DWARFExpression.h
Removed:
################################################################################
diff --git a/lldb/include/lldb/Expression/DWARFExpression.h b/lldb/include/lldb/Expression/DWARFExpression.h
index 6b63b186e3e43..c7d4e4b1882fd 100644
--- a/lldb/include/lldb/Expression/DWARFExpression.h
+++ b/lldb/include/lldb/Expression/DWARFExpression.h
@@ -219,6 +219,10 @@ class DWARFExpression {
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 @@ class DWARFExpression {
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;
More information about the lldb-commits
mailing list