mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:58:11 +08:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user