[Lldb-commits] [lldb] r139803 - /lldb/trunk/source/Expression/ClangUserExpression.cpp

Sean Callanan scallanan at apple.com
Thu Sep 15 10:43:01 PDT 2011


Author: spyffe
Date: Thu Sep 15 12:43:00 2011
New Revision: 139803

URL: http://llvm.org/viewvc/llvm-project?rev=139803&view=rev
Log:
Fixed a problem where the expression parser would
attempt to obtain information from the process even
in cases where the process isn't available.

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=139803&r1=139802&r2=139803&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangUserExpression.cpp (original)
+++ lldb/trunk/source/Expression/ClangUserExpression.cpp Thu Sep 15 12:43:00 2011
@@ -614,6 +614,9 @@
             return execution_results;
         }
     }
+    
+    if (exe_ctx.process == NULL)
+        execution_policy = eExecutionPolicyNever;
         
     if (execution_policy != eExecutionPolicyNever && !exe_ctx.process->GetDynamicCheckers())
     {





More information about the lldb-commits mailing list