diff options
author | Jim Ingham <jingham@apple.com> | 2014-08-05 01:59:20 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2014-08-05 01:59:20 +0000 |
commit | 5beccb22bc151a6711e28a893ed1446ccae7ba13 (patch) | |
tree | e4739ca20d6c46ad3f071759240ddda665e01f93 /lldb/source | |
parent | cca8995ab28bcc54b5eb3825f9f59de496dd9427 (diff) | |
download | bcm5719-llvm-5beccb22bc151a6711e28a893ed1446ccae7ba13.tar.gz bcm5719-llvm-5beccb22bc151a6711e28a893ed1446ccae7ba13.zip |
If you found a step through plan stop looking up the stack for a step out plan.
llvm-svn: 214837
Diffstat (limited to 'lldb/source')
-rw-r--r-- | lldb/source/Target/ThreadPlanStepOverRange.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Target/ThreadPlanStepOverRange.cpp b/lldb/source/Target/ThreadPlanStepOverRange.cpp index 0e1498dc923..8363183a420 100644 --- a/lldb/source/Target/ThreadPlanStepOverRange.cpp +++ b/lldb/source/Target/ThreadPlanStepOverRange.cpp @@ -185,6 +185,9 @@ ThreadPlanStepOverRange::ShouldStop (Event *event_ptr) else { new_plan_sp = m_thread.QueueThreadPlanForStepThrough (m_stack_id, false, stop_others); + // If we found a way through, then we should stop recursing. + if (new_plan_sp) + break; } } } |