diff options
| author | Sean Callanan <scallanan@apple.com> | 2012-12-06 01:35:38 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2012-12-06 01:35:38 +0000 |
| commit | eab6cc98d7813e3145c8f67958411f9aa996ac81 (patch) | |
| tree | 245487b60f27ba487555caa602de065bb4afac5f /lldb/source/Expression/ClangUserExpression.cpp | |
| parent | 9f5c68af4cad5da1212aef1d04069364d0e3c49f (diff) | |
| download | bcm5719-llvm-eab6cc98d7813e3145c8f67958411f9aa996ac81.tar.gz bcm5719-llvm-eab6cc98d7813e3145c8f67958411f9aa996ac81.zip | |
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>
llvm-svn: 169461
Diffstat (limited to 'lldb/source/Expression/ClangUserExpression.cpp')
| -rw-r--r-- | lldb/source/Expression/ClangUserExpression.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangUserExpression.cpp b/lldb/source/Expression/ClangUserExpression.cpp index 231432d29e0..13b7b0edfbf 100644 --- a/lldb/source/Expression/ClangUserExpression.cpp +++ b/lldb/source/Expression/ClangUserExpression.cpp @@ -58,7 +58,7 @@ ClangUserExpression::ClangUserExpression (const char *expr, 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), |

