[Lldb-commits] [PATCH] D84210: [lldb] Use a weak pointer to hold on to the underlying thread plan in SBThreadPlan
Jim Ingham via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 20 21:16:37 PDT 2020
jingham added a comment.
Yes, the only way you can get your hands on an SBThreadPlan is in the process of queueing one, so the ThreadPlan stack will always be the one to manage the lifecycle of a plan. And if an SBThreadPlan represents a ThreadPlan that has been discarded, it should convert back to an empty SBThreadPlan rather than keeping the underlying plan alive. So this is correct.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84210/new/
https://reviews.llvm.org/D84210
More information about the lldb-commits
mailing list