[Lldb-commits] [lldb] r219896 - Ryan Brown's patch to handle DW_OP_call_frame_cfa addresses

Jason Molenda jmolenda at apple.com
Wed Oct 15 19:56:12 PDT 2014


Author: jmolenda
Date: Wed Oct 15 21:56:12 2014
New Revision: 219896

URL: http://llvm.org/viewvc/llvm-project?rev=219896&view=rev
Log:
Ryan Brown's patch to handle DW_OP_call_frame_cfa addresses
as load addreses instead of host addresses.
http://reviews.llvm.org/D5735

Modified:
    lldb/trunk/source/Expression/DWARFExpression.cpp

Modified: lldb/trunk/source/Expression/DWARFExpression.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/DWARFExpression.cpp?rev=219896&r1=219895&r2=219896&view=diff
==============================================================================
--- lldb/trunk/source/Expression/DWARFExpression.cpp (original)
+++ lldb/trunk/source/Expression/DWARFExpression.cpp Wed Oct 15 21:56:12 2014
@@ -2875,7 +2875,7 @@ DWARFExpression::Evaluate
                 if (cfa != LLDB_INVALID_ADDRESS)
                 {
                     stack.push_back(Scalar(cfa));
-                    stack.back().SetValueType (Value::eValueTypeHostAddress);
+                    stack.back().SetValueType (Value::eValueTypeLoadAddress);
                 }
                 else
                     if (error_ptr)





More information about the lldb-commits mailing list