[Lldb-commits] [PATCH] Fix -gdb-exit to detach if was attached or destroy otherwise (MI)

Ilia K ki.stfu at gmail.com
Tue Mar 24 00:44:59 PDT 2015

In http://reviews.llvm.org/D8298#139981, @clayborg wrote:

> Process::Finalize() only gets called when the lldb_private::Process destructor is called. We should do similar logic in lldb_private::Process::Destroy(). Currently Process::Destroy() calls the virtual WillDestrory(), DoDestroy() and DidDestroy(), but we should probably fix Process::Destroy() to do more generic logic and check the GetShouldDetach() and call Process::Detach() first before calling the subclass DoDestroy()...

What is the difference between Process::Detach/Halt/Destroy?



More information about the lldb-commits mailing list