diff options
author | Quinn Pham <Quinn.Pham@ibm.com> | 2021-11-02 08:58:19 -0500 |
---|---|---|
committer | Quinn Pham <Quinn.Pham@ibm.com> | 2021-11-11 15:04:44 -0600 |
commit | 04cbfa950e0221ac334f802407a9b766df33eee5 (patch) | |
tree | eff5e8494c0565aa537219a71771b534a5ec52ae /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 3e7ad1f2b2c0a753749eaba88d369d6032a50764 (diff) | |
download | llvm-04cbfa950e0221ac334f802407a9b766df33eee5.zip llvm-04cbfa950e0221ac334f802407a9b766df33eee5.tar.gz llvm-04cbfa950e0221ac334f802407a9b766df33eee5.tar.bz2 |
[lldb][NFC] Inclusive Language: rename master plan to controlling plan
[NFC] As part of using inclusive language within the llvm project, this patch
renames master plan to controlling plan in lldb.
Reviewed By: jingham
Differential Revision: https://reviews.llvm.org/D113019
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectThread.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index e9396dc..71e67f6 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -526,12 +526,12 @@ protected: return false; } - // If we got a new plan, then set it to be a master plan (User level Plans - // should be master plans so that they can be interruptible). Then resume - // the process. + // If we got a new plan, then set it to be a controlling plan (User level + // Plans should be controlling plans so that they can be interruptible). + // Then resume the process. if (new_plan_sp) { - new_plan_sp->SetIsMasterPlan(true); + new_plan_sp->SetIsControllingPlan(true); new_plan_sp->SetOkayToDiscard(false); if (m_options.m_step_count > 1) { @@ -1021,11 +1021,12 @@ protected: abort_other_plans, &address_list.front(), address_list.size(), m_options.m_stop_others, m_options.m_frame_idx, new_plan_status); if (new_plan_sp) { - // User level plans should be master plans so they can be interrupted + // User level plans should be controlling plans so they can be + // interrupted // (e.g. by hitting a breakpoint) and other plans executed by the // user (stepping around the breakpoint) and then a "continue" will // resume the original plan. - new_plan_sp->SetIsMasterPlan(true); + new_plan_sp->SetIsControllingPlan(true); new_plan_sp->SetOkayToDiscard(false); } else { result.SetError(new_plan_status); |