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

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 16:07:58 PST 2018


vsk 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.


Is it possible to unregister the handler within the unit test?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D42206





More information about the llvm-commits mailing list