[Lldb-commits] [PATCH] D100191: [lldb] [llgs] Support owning and detaching extra processes

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 15 14:00:48 PDT 2021


mgorny added a comment.

In D100191#2689489 <https://reviews.llvm.org/D100191#2689489>, @labath wrote:

> We should also start thinking about tests. I suppose the smallest piece of functionality that could be usefully tested (with a lldb-server test) is debugging a process that forks, stopping after the fork, and detaching from the child. Shall we try making that work first?

How about using a `MockProcess` to unittest server's behavior wrt getting `NewSubprocess()` and `Detach()` calls?


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

https://reviews.llvm.org/D100191



More information about the lldb-commits mailing list