[all-commits] [llvm/llvm-project] 677791: [libFuzzer] Remove InterruptHandler from Fuchsia i...

eepeep via All-commits all-commits at lists.llvm.org
Thu Oct 29 00:03:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6777919d5ac2dfc9923bb5b0b366038ed7fa9621
      https://github.com/llvm/llvm-project/commit/6777919d5ac2dfc9923bb5b0b366038ed7fa9621
  Author: Cameron Finucane <eep at google.com>
  Date:   2020-10-29 (Thu, 29 Oct 2020)

  Changed paths:
    M compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list