[Lldb-commits] [PATCH] D96916: [lldb] Fix PushPlan to set subplan to private
Dave Lee via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 17 16:30:00 PST 2021
kastiglione created this revision.
kastiglione added a reviewer: jingham.
kastiglione requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Call `SetPrivate(true)` for subplans pushed via `PushPlan()`, as described in its
docstring.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96916
Files:
lldb/include/lldb/Target/ThreadPlan.h
Index: lldb/include/lldb/Target/ThreadPlan.h
===================================================================
--- lldb/include/lldb/Target/ThreadPlan.h
+++ lldb/include/lldb/Target/ThreadPlan.h
@@ -478,7 +478,7 @@
// another thread plan is never either of the above.
void PushPlan(lldb::ThreadPlanSP &thread_plan_sp) {
GetThread().PushPlan(thread_plan_sp);
- thread_plan_sp->SetPrivate(false);
+ thread_plan_sp->SetPrivate(true);
thread_plan_sp->SetIsMasterPlan(false);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96916.324462.patch
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210218/2f223fde/attachment.bin>
More information about the lldb-commits
mailing list