forked from OSchip/llvm-project
[lldb] Rename QueueFundamentalPlan to QueueBasePlan (NFC)
Minor change for naming consistency. Differential Revision: https://reviews.llvm.org/D97985
This commit is contained in:
parent
bc172e532a
commit
e7361c8ecc
|
@ -615,7 +615,7 @@ public:
|
|||
/// \return
|
||||
/// A shared pointer to the newly queued thread plan, or nullptr if the
|
||||
/// plan could not be queued.
|
||||
virtual lldb::ThreadPlanSP QueueFundamentalPlan(bool abort_other_plans);
|
||||
lldb::ThreadPlanSP QueueBasePlan(bool abort_other_plans);
|
||||
|
||||
/// Queues the plan used to step one instruction from the current PC of \a
|
||||
/// thread.
|
||||
|
|
|
@ -44,8 +44,7 @@ protected:
|
|||
ThreadPlanBase(Thread &thread);
|
||||
|
||||
private:
|
||||
friend lldb::ThreadPlanSP
|
||||
Thread::QueueFundamentalPlan(bool abort_other_plans);
|
||||
friend lldb::ThreadPlanSP Thread::QueueBasePlan(bool abort_other_plans);
|
||||
|
||||
ThreadPlanBase(const ThreadPlanBase &) = delete;
|
||||
const ThreadPlanBase &operator=(const ThreadPlanBase &) = delete;
|
||||
|
|
|
@ -1229,7 +1229,7 @@ Status Thread::UnwindInnermostExpression() {
|
|||
return error;
|
||||
}
|
||||
|
||||
ThreadPlanSP Thread::QueueFundamentalPlan(bool abort_other_plans) {
|
||||
ThreadPlanSP Thread::QueueBasePlan(bool abort_other_plans) {
|
||||
ThreadPlanSP thread_plan_sp(new ThreadPlanBase(*this));
|
||||
QueueThreadPlan(thread_plan_sp, abort_other_plans);
|
||||
return thread_plan_sp;
|
||||
|
|
|
@ -375,7 +375,7 @@ void ThreadPlanStackMap::Update(ThreadList ¤t_threads,
|
|||
lldb::tid_t cur_tid = thread->GetID();
|
||||
if (!Find(cur_tid)) {
|
||||
AddThread(*thread.get());
|
||||
thread->QueueFundamentalPlan(true);
|
||||
thread->QueueBasePlan(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue