[Lldb-commits] [lldb] r169461 - /lldb/trunk/source/Expression/ClangUserExpression.cpp
Sean Callanan
scallanan at apple.com
Wed Dec 5 17:35:38 PST 2012
Author: spyffe
Date: Wed Dec 5 19:35:38 2012
New Revision: 169461
URL: http://llvm.org/viewvc/llvm-project?rev=169461&view=rev
Log:
The expression parser will now check the validity
of the "self"/"this" pointer for the current stack
frame before wrapping expressions in C++ or
Objective-C methods. This works around bad debug
info where the compiler emits a "this" or "self"
but doesn't give any way to find its location.
<rdar://problem/12809985>
Modified:
lldb/trunk/source/Expression/ClangUserExpression.cpp
Modified: lldb/trunk/source/Expression/ClangUserExpression.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangUserExpression.cpp?rev=169461&r1=169460&r2=169461&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangUserExpression.cpp (original)
+++ lldb/trunk/source/Expression/ClangUserExpression.cpp Wed Dec 5 19:35:38 2012
@@ -58,7 +58,7 @@
m_language (language),
m_transformed_text (),
m_desired_type (desired_type),
- m_enforce_valid_object (false),
+ m_enforce_valid_object (true),
m_cplusplus (false),
m_objectivec (false),
m_static_method(false),
More information about the lldb-commits
mailing list