forked from OSchip/llvm-project
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:
parent
eb23add2ad
commit
879425fadd
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue