[PATCH] D27238: [libFuzzer] Diff 7 - Improve Signal Handler interface.

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 30 18:32:38 PST 2016


kcc added inline comments.


================
Comment at: lib/Fuzzer/FuzzerUtil.h:44
 // Platform specific functions.
-void SetTimer(int Seconds);
-
-void SetSigSegvHandler();
-void SetSigBusHandler();
-void SetSigAbrtHandler();
-void SetSigIllHandler();
-void SetSigFpeHandler();
-void SetSigIntHandler();
-void SetSigTermHandler();
+struct SignalHandlerOptions {
+  typedef void (*HandlerT)();
----------------
do you need this level of indirection?


Repository:
  rL LLVM

https://reviews.llvm.org/D27238





More information about the llvm-commits mailing list