diff options
author | Dave Lee <davelee.com@gmail.com> | 2022-03-10 12:11:57 -0800 |
---|---|---|
committer | Dave Lee <davelee.com@gmail.com> | 2022-03-10 13:58:08 -0800 |
commit | 47f652d69517336fb0f6fbdcd6bf4dc962ae5e65 (patch) | |
tree | c2984887156142bfdedde2c9b13ba81bcdab85f3 | |
parent | 54d7fde46e8a0e425245e18732c2a78e64fa7b35 (diff) |
[lldb] Call ThreadPlan::DiscardPlan from Thread::DiscardPlan
Correct `Thread::DiscardPlan` to call `DiscardPlan` instead of `PopPlan`.
Differential Revision: https://reviews.llvm.org/D96655
-rw-r--r-- | lldb/source/Target/Thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index 228d1fb2ef28..332e03bedbf1 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -1091,7 +1091,7 @@ void Thread::PopPlan() { void Thread::DiscardPlan() { Log *log = GetLog(LLDBLog::Step); - ThreadPlanSP discarded_plan_sp = GetPlans().PopPlan(); + ThreadPlanSP discarded_plan_sp = GetPlans().DiscardPlan(); LLDB_LOGF(log, "Discarding plan: \"%s\", tid = 0x%4.4" PRIx64 ".", discarded_plan_sp->GetName(), |