ilya-nozhkin added a comment.

In D119548#3318995 <https://reviews.llvm.org/D119548#3318995>, @labath wrote:

> I think that could be achieved by "hijacking" the process events in the case 
> of a synchronous launch, similar to how we do it for synchronous resumes 
> (compare Process::Resume and Process:ResumeSynchronous) -- except that this 
> may be slightly trickier to implement because some of our (platform-specific) 
> launch code already hijacks these events.

Oh, I didn't notice your answer when I was updating the diff. Yeah, I think, it 
will work perfectly even if platform-specific code hijacks events (it is done 
in the same thread, so, no race should happen, we only need to catch any events 
that weren't catched by platform-specific code). I'll try to implement this 
approach.


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

https://reviews.llvm.org/D119548

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to