[Lldb-commits] [lldb] r163450 - /lldb/trunk/source/Target/StopInfo.cpp

Sean Callanan scallanan at apple.com
Fri Sep 7 18:51:48 PDT 2012


Author: spyffe
Date: Fri Sep  7 20:51:48 2012
New Revision: 163450

URL: http://llvm.org/viewvc/llvm-project?rev=163450&view=rev
Log:
Fixed a problem where watchpoint conditions would
run code when it didn't really need to run.

<rdar://problem/12145006>

Modified:
    lldb/trunk/source/Target/StopInfo.cpp

Modified: lldb/trunk/source/Target/StopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/StopInfo.cpp?rev=163450&r1=163449&r2=163450&view=diff
==============================================================================
--- lldb/trunk/source/Target/StopInfo.cpp (original)
+++ lldb/trunk/source/Target/StopInfo.cpp Fri Sep  7 20:51:48 2012
@@ -598,7 +598,7 @@
                 const bool discard_on_error = true;
                 Error error;
                 result_code = ClangUserExpression::EvaluateWithError (exe_ctx,
-                                                                      eExecutionPolicyAlways,
+                                                                      eExecutionPolicyOnlyWhenNeeded,
                                                                       lldb::eLanguageTypeUnknown,
                                                                       ClangUserExpression::eResultTypeAny,
                                                                       discard_on_error,





More information about the lldb-commits mailing list