[PATCH] D42206: If kevent() is interrupted by signal (or is being debugged) and we get EINTR, retry

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 16:07:57 PST 2018


davide added a comment.

In https://reviews.llvm.org/D42206#979570, @jasonmolenda wrote:

> I tried sending signals to lldb-server via kill() and the signal handler caught them, the bit of code I had printing out the return value & errno value never got executed.  The only way I was able to repo this was by debugging lldb-server.


I think Pavel might have ideas on how to test this. Let's wait for him and see. We could all learn something :)


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D42206





More information about the llvm-commits mailing list