[Lldb-commits] [PATCH] D76216: Improve step over performance
Jaroslav Sevcik via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 18 16:51:44 PDT 2020
jarin updated this revision to Diff 251208.
jarin added a comment.
Rebase
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.251208.patch
Type: text/x-patch
Size: 798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200318/a5821b30/attachment.bin>
More information about the lldb-commits
mailing list