We set the error when a breakpoint condition

doesn't return anything; that's great.

We should probably also return rather than
trying to access the nonexistent return value.

<rdar://problem/14009519>

llvm-svn: 184765
This commit is contained in:
Sean Callanan
2013-06-24 17:58:46 +00:00
parent eb23add2ad
commit 879425fadd

View File

@@ -319,6 +319,7 @@ BreakpointLocation::ConditionSaysStop (ExecutionContext &exe_ctx, Error &error)
{
ret = false;
error.SetErrorString("Expression did not return a result");
return false;
}
result_value_sp = result_variable_sp->GetValueObject();