Ryan Brown's patch to handle DW_OP_call_frame_cfa addresses
authorJason Molenda <jmolenda@apple.com>
Thu, 16 Oct 2014 02:56:12 +0000 (02:56 +0000)
committerJason Molenda <jmolenda@apple.com>
Thu, 16 Oct 2014 02:56:12 +0000 (02:56 +0000)
as load addreses instead of host addresses.
http://reviews.llvm.org/D5735

llvm-svn: 219896

lldb/source/Expression/DWARFExpression.cpp

index 7609521..827bddd 100644 (file)
@@ -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)