Skip to content

Commit 4e266ea

Browse files
EricSLdschuff
authored andcommitted
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
1 parent ed17b6f commit 4e266ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lldb/include/lldb/Expression/DWARFExpression.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ class DWARFExpression {
219219

220220
bool MatchesOperand(StackFrame &frame, const Instruction::Operand &op);
221221

222+
llvm::Optional<DataExtractor>
223+
GetLocationExpression(lldb::addr_t load_function_start,
224+
lldb::addr_t addr) const;
225+
222226
private:
223227
/// Pretty-prints the location expression to a stream
224228
///
@@ -237,10 +241,6 @@ class DWARFExpression {
237241
void DumpLocation(Stream *s, const DataExtractor &data,
238242
lldb::DescriptionLevel level, ABI *abi) const;
239243

240-
llvm::Optional<DataExtractor>
241-
GetLocationExpression(lldb::addr_t load_function_start,
242-
lldb::addr_t addr) const;
243-
244244
/// Module which defined this expression.
245245
lldb::ModuleWP m_module_wp;
246246

0 commit comments

Comments
 (0)