From 354d10530d267838a08bf0a27b1bdf69fd99086e Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Wed, 17 Feb 2021 15:38:04 -0800 Subject: [PATCH] [lldb] Fix PushPlan to set subplan to private Call `SetPrivate(true)` for subplans pushed via `PushPlan()`, as described in its docstring. Differential Revision: https://reviews.llvm.org/D96916 --- lldb/include/lldb/Target/ThreadPlan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/include/lldb/Target/ThreadPlan.h b/lldb/include/lldb/Target/ThreadPlan.h index 007e56d4babe..5e14a1fd6577 100644 --- a/lldb/include/lldb/Target/ThreadPlan.h +++ b/lldb/include/lldb/Target/ThreadPlan.h @@ -494,7 +494,7 @@ protected: // 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); }