This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] Remove InterruptHandler from Fuchsia implementation
ClosedPublic

Authored by eep on Oct 12 2020, 1:44 PM.

Details

Summary

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.

Diff Detail

Event Timeline

eep created this revision.Oct 12 2020, 1:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 12 2020, 1:44 PM
Herald added subscribers: Restricted Project, phosek. · View Herald Transcript
eep requested review of this revision.Oct 12 2020, 1:44 PM
aarongreen accepted this revision.Oct 27 2020, 3:02 PM
This revision is now accepted and ready to land.Oct 27 2020, 3:02 PM
This revision was automatically updated to reflect the committed changes.