forked from OSchip/llvm-project
[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
This commit is contained in:
parent
66dab2fa84
commit
354d10530d
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue