diff options
author | Jason Molenda <jmolenda@apple.com> | 2015-12-15 00:40:30 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2015-12-15 00:40:30 +0000 |
commit | 25d5b10b229d807b56c47f63809137d737d8c52f (patch) | |
tree | f55aace3963d966dd231128dbff8a950f9fd82ba /lldb/source/Commands/CommandObjectThread.cpp | |
parent | ef0ef2860df2bdc8de10aa4f485a6541ef5cf87f (diff) | |
download | llvm-25d5b10b229d807b56c47f63809137d737d8c52f.zip llvm-25d5b10b229d807b56c47f63809137d737d8c52f.tar.gz llvm-25d5b10b229d807b56c47f63809137d737d8c52f.tar.bz2 |
When constructing an address range to "step" or "next" through,
find the largest address range (possibly combining multiple
LineEntry's for this line number) that is contiguous.
This allows lldb's fast-step stepping algorithm to potentially
run for a longer address range than if we have to stop at every
LineEntry indicating a subexpression in the source line.
http://reviews.llvm.org/D15407
<rdar://problem/23270882>
llvm-svn: 255590
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectThread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index 8d6a303..e932c9d 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -586,7 +586,7 @@ protected: if (frame->HasDebugInformation ()) { new_plan_sp = thread->QueueThreadPlanForStepInRange (abort_other_plans, - frame->GetSymbolContext(eSymbolContextEverything).line_entry.range, + frame->GetSymbolContext(eSymbolContextEverything).line_entry, frame->GetSymbolContext(eSymbolContextEverything), m_options.m_step_in_target.c_str(), stop_other_threads, @@ -609,7 +609,7 @@ protected: if (frame->HasDebugInformation()) new_plan_sp = thread->QueueThreadPlanForStepOverRange (abort_other_plans, - frame->GetSymbolContext(eSymbolContextEverything).line_entry.range, + frame->GetSymbolContext(eSymbolContextEverything).line_entry, frame->GetSymbolContext(eSymbolContextEverything), stop_other_threads, m_options.m_step_out_avoid_no_debug); |