[PATCH] D27238: [libFuzzer] Diff 7 - Improve Signal Handler interface.
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 30 12:46:17 PST 2016
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
================
Comment at: lib/Fuzzer/FuzzerUtilWindows.cpp:132
+ if (Opt.sigabrt_cb)
+ if (SIG_ERR == signal(SIGABRT, [](int){HandlerOpt.sigabrt_cb();})) {
+ Printf("libFuzzer: signal failed with %d\n", errno);
----------------
Huh, I guess that works on Windows, but it just interacts with abort().
Repository:
rL LLVM
https://reviews.llvm.org/D27238
More information about the llvm-commits
mailing list