[Lldb-commits] [PATCH] D106004: [lldb] Always call DestroyImpl from Process::Finalize

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 14 13:18:30 PDT 2021


jingham accepted this revision.
jingham added a comment.
This revision is now accepted and ready to land.

This seems better to me.  It's a little odd that the Process was short-cutting DoDestroy for these states.  How can it know that one of the plugins might not need to handle that case?   As an object lesson, that's true of eStateInvalid, which is the state you return with in the ProcessGDBRemote case when interrupting the stub fails, and that definitely needs cleanup.

Looks like the Windows plugin handles these cases already anyway, so this should be good.


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

https://reviews.llvm.org/D106004



More information about the lldb-commits mailing list