diff options
author | Jason Molenda <jmolenda@apple.com> | 2010-11-20 01:28:30 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2010-11-20 01:28:30 +0000 |
commit | 2d107dd02b8c74af2e5525d5e194cb01d09d1bba (patch) | |
tree | b113a6cf60dba9077798d22e365b558d0bc1ee31 /lldb/source/Target/StackFrame.cpp | |
parent | 40e78b4da0bb66bc2ec23dbcde5b95ba275223a2 (diff) | |
download | bcm5719-llvm-2d107dd02b8c74af2e5525d5e194cb01d09d1bba.tar.gz bcm5719-llvm-2d107dd02b8c74af2e5525d5e194cb01d09d1bba.zip |
Change the DWARFExpression::Evaluate methods to take an optional
RegisterContext* - normally this is retrieved from the ExecutionContext's
StackFrame but when we need to evaluate an expression while creating
the stack frame list this can be a little tricky.
Add DW_OP_deref_size, needed for the _sigtramp FDE expression.
Add support for processing DWARF expressions in RegisterContextLLDB.
Update callers to DWARFExpression::Evaluate.
llvm-svn: 119885
Diffstat (limited to 'lldb/source/Target/StackFrame.cpp')
-rw-r--r-- | lldb/source/Target/StackFrame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/StackFrame.cpp b/lldb/source/Target/StackFrame.cpp index 7671eab0ef0..7281ba427e4 100644 --- a/lldb/source/Target/StackFrame.cpp +++ b/lldb/source/Target/StackFrame.cpp @@ -496,7 +496,7 @@ StackFrame::GetFrameBaseValue (Scalar &frame_base, Error *error_ptr) if (m_sc.function->GetFrameBaseExpression().IsLocationList()) loclist_base_addr = m_sc.function->GetAddressRange().GetBaseAddress().GetLoadAddress (&m_thread.GetProcess().GetTarget()); - if (m_sc.function->GetFrameBaseExpression().Evaluate(&exe_ctx, NULL, loclist_base_addr, NULL, expr_value, &m_frame_base_error) == false) + if (m_sc.function->GetFrameBaseExpression().Evaluate(&exe_ctx, NULL, NULL, loclist_base_addr, NULL, expr_value, &m_frame_base_error) == false) { // We should really have an error if evaluate returns, but in case // we don't, lets set the error to something at least. |