diff options
| author | Kostya Serebryany <kcc@google.com> | 2017-11-09 20:30:19 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2017-11-09 20:30:19 +0000 |
| commit | a2ca2dcc461cccd539aed282b1f50d2925bc05d7 (patch) | |
| tree | 31847674b920c375488f247fa060a1ed37418dee /compiler-rt/lib/fuzzer/FuzzerOptions.h | |
| parent | fe5ae8e4712ff62c611516f32324ccfa92a232b7 (diff) | |
| download | bcm5719-llvm-a2ca2dcc461cccd539aed282b1f50d2925bc05d7.tar.gz bcm5719-llvm-a2ca2dcc461cccd539aed282b1f50d2925bc05d7.zip | |
[libFuzzer] handle SIGUSR1/SIGUSR2 and try to exit grafully on these signals
llvm-svn: 317829
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerOptions.h')
| -rw-r--r-- | compiler-rt/lib/fuzzer/FuzzerOptions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerOptions.h b/compiler-rt/lib/fuzzer/FuzzerOptions.h index 73953e1548b..0a1fb613c34 100644 --- a/compiler-rt/lib/fuzzer/FuzzerOptions.h +++ b/compiler-rt/lib/fuzzer/FuzzerOptions.h @@ -65,6 +65,8 @@ struct FuzzingOptions { bool HandleSegv = false; bool HandleTerm = false; bool HandleXfsz = false; + bool HandleUsr1 = false; + bool HandleUsr2 = false; }; } // namespace fuzzer |

