https://github.com/labath commented:

I think this looks pretty good. The signal-safety of the code is very dubious 
(it was dubious even before that, but now it's even more), but I don't think 
that there's anything we can do about it from here. I think the only way we can 
have a real signal-safety guarantee is if we have a signal-catcher thread in 
the lldb driver, which catches the signals very safely (for example, using our 
MainLoop class) and then notifies lldb outside of the signal context.

Definitely needs some tests though (I thought you had some -- what happened to 
those?)

https://github.com/llvm/llvm-project/pull/121860
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to