projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca8995
)
If you found a step through plan stop looking up the stack for a step out plan.
author
Jim Ingham
<jingham@apple.com>
Tue, 5 Aug 2014 01:59:20 +0000
(
01:59
+0000)
committer
Jim Ingham
<jingham@apple.com>
Tue, 5 Aug 2014 01:59:20 +0000
(
01:59
+0000)
llvm-svn: 214837
lldb/source/Target/ThreadPlanStepOverRange.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Target/ThreadPlanStepOverRange.cpp
b/lldb/source/Target/ThreadPlanStepOverRange.cpp
index
0e1498d
..
8363183
100644
(file)
--- 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;
}
}
}