[Lldb-commits] [PATCH] D96655: [lldb] Call ThreadPlan::DiscardPlan from Thread::DiscardPlan

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 10 13:58:20 PST 2022


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG47f652d69517: [lldb] Call ThreadPlan::DiscardPlan from Thread::DiscardPlan (authored by kastiglione).
Herald added a project: All.

Changed prior to commit:
  https://reviews.llvm.org/D96655?vs=323574&id=414492#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96655/new/

https://reviews.llvm.org/D96655

Files:
  lldb/source/Target/Thread.cpp


Index: lldb/source/Target/Thread.cpp
===================================================================
--- lldb/source/Target/Thread.cpp
+++ lldb/source/Target/Thread.cpp
@@ -1091,7 +1091,7 @@
 
 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(), 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96655.414492.patch
Type: text/x-patch
Size: 500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220310/c0ba5300/attachment.bin>


More information about the lldb-commits mailing list