[libFuzzer] Remove InterruptHandler from Fuchsia implementation
authorCameron Finucane <eep@google.com>
Thu, 29 Oct 2020 06:47:38 +0000 (23:47 -0700)
committerMarco Vanotti <mvanotti@google.com>
Thu, 29 Oct 2020 07:02:31 +0000 (00:02 -0700)
commit6777919d5ac2dfc9923bb5b0b366038ed7fa9621
treef1e39fca790649bc44f89075a540065eed55d29d
parentee7e03e19e7447985d4710dd93d94bdecc665989
[libFuzzer] Remove InterruptHandler from Fuchsia implementation

As implemented, the `InterruptHandler` thread was spinning trying to
`select()` on a null "stdin", wasting a significant amount of CPU for no
benefit. As Fuchsia does not have a native concept of stdin (or POSIX
signals), this commit simply removes this feature entirely.

Reviewed By: aarongreen

Differential Revision: https://reviews.llvm.org/D89266
compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp