[Lldb-commits] [PATCH] D76216: Improve step over performance
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 20 03:46:19 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG089cfe113da1: Improve step over performance (authored by jarin, committed by labath).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76216/new/
https://reviews.llvm.org/D76216
Files:
lldb/source/Target/ThreadPlanStepOverRange.cpp
Index: lldb/source/Target/ThreadPlanStepOverRange.cpp
===================================================================
--- lldb/source/Target/ThreadPlanStepOverRange.cpp
+++ lldb/source/Target/ThreadPlanStepOverRange.cpp
@@ -171,6 +171,10 @@
const SymbolContext &older_context =
older_frame_sp->GetSymbolContext(eSymbolContextEverything);
if (IsEquivalentContext(older_context)) {
+ // If we have the next-branch-breakpoint in the range, we can just
+ // rely on that breakpoint to trigger once we return to the range.
+ if (m_next_branch_bp_sp)
+ return false;
new_plan_sp = m_thread.QueueThreadPlanForStepOutNoShouldStop(
false, nullptr, true, stop_others, eVoteNo, eVoteNoOpinion, 0,
m_status, true);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76216.251595.patch
Type: text/x-patch
Size: 798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200320/fb15981f/attachment.bin>
More information about the lldb-commits
mailing list