[PATCH] D47609: [lldb, process] Fix occasional hang when launching a process in LLDB

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 1 01:19:11 PDT 2018


labath added a comment.

In https://reviews.llvm.org/D47609#1118414, @jingham wrote:

> Launch and attaching are weird because they happen before you have a private state thread (or if there is one it is explicitly paused), so the events don't flow as they normally would.  So neither launch nor attach are relying on a private eStateLaunching event.
>
> Looking at the code, only FreeBSD and Windows call SetPrivateState(eStateLaunching).


I don't know if this matters, but windows and freebsd are also the only platforms using an in-process debugging plugin. (But I agree that unifying the event sequences across different platforms is the best approach.)


Repository:
  rL LLVM

https://reviews.llvm.org/D47609





More information about the llvm-commits mailing list