commit | 7a31c7ad2374dea9950d502dd394d31e78f4f6ab | [log] [tgz] |
---|---|---|
author | Petr Hosek <[email protected]> | Thu Apr 19 14:01:46 2018 |
committer | Petr Hosek <[email protected]> | Thu Apr 19 14:01:46 2018 |
tree | d5f245e4a9cc901fae4ce971c14f3d8a4a4cccb9 | |
parent | f8a92c1fff9b0b07774dd245b5f5a7dc9233320c [diff] |
[Fuzzer] Make InterruptHandler non-blocking for Fuchsia The initial naive approach to simulate SIGINT on Fuchsia was to getchar and look for ETX. This caused the InterruptHandler thread to lock stdin, preventing musl's exit() from being able to close the stdio descriptors and complete. This change uses select() instead. Patch By: aarongreen Differential Revision: https://reviews.llvm.org/D45636 llvm-svn: 330328