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);
   }
 


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);
   }
 
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to