diff options
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r-- | lldb/source/Target/Thread.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index 5eeaca83552..cbd751367f7 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -975,8 +975,16 @@ Thread::QueueThreadPlanForStepOut stop_vote, run_vote, frame_idx)); - QueueThreadPlan (thread_plan_sp, abort_other_plans); - return thread_plan_sp.get(); + + if (thread_plan_sp->ValidatePlan(NULL)) + { + QueueThreadPlan (thread_plan_sp, abort_other_plans); + return thread_plan_sp.get(); + } + else + { + return NULL; + } } ThreadPlan * |