forked from OSchip/llvm-project
Expressions now claim responsibility for all stops
that occur while they run. This means that they clean up after themselves even when they crash. llvm-svn: 116870
This commit is contained in:
parent
c8456f8c59
commit
3e6fedcaa1
|
@ -171,6 +171,10 @@ ThreadPlanCallFunction::ValidatePlan (Stream *error)
|
|||
bool
|
||||
ThreadPlanCallFunction::PlanExplainsStop ()
|
||||
{
|
||||
// If the subplan is running, any crashes are attributable to us.
|
||||
|
||||
return (m_subplan_sp.get() != NULL);
|
||||
|
||||
if (!m_subplan_sp)
|
||||
return false;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue