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