[Lldb-commits] [lldb] r178204 - Use the error from ValidatePlan.
Jim Ingham
jingham at apple.com
Wed Mar 27 17:08:01 PDT 2013
Author: jingham
Date: Wed Mar 27 19:08:00 2013
New Revision: 178204
URL: http://llvm.org/viewvc/llvm-project?rev=178204&view=rev
Log:
Use the error from ValidatePlan.
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=178204&r1=178203&r2=178204&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangUserExpression.cpp (original)
+++ lldb/trunk/source/Expression/ClangUserExpression.cpp Wed Mar 27 19:08:00 2013
@@ -703,7 +703,7 @@ ClangUserExpression::Execute (Stream &er
((m_needs_object_ptr && m_objectivec) ? &cmd_ptr : NULL),
shared_ptr_to_me));
- if (!call_plan_sp || !call_plan_sp->ValidatePlan (NULL))
+ if (!call_plan_sp || !call_plan_sp->ValidatePlan (&error_stream))
return eExecutionSetupError;
lldb::addr_t function_stack_pointer = static_cast<ThreadPlanCallFunction *>(call_plan_sp.get())->GetFunctionStackPointer();
More information about the lldb-commits
mailing list