diff --git a/llvm/lib/Fuzzer/FuzzerSanitizerOptions.cpp b/llvm/lib/Fuzzer/FuzzerSanitizerOptions.cpp index 1c58f3a0694f..b2f20dd4ddf0 100644 --- a/llvm/lib/Fuzzer/FuzzerSanitizerOptions.cpp +++ b/llvm/lib/Fuzzer/FuzzerSanitizerOptions.cpp @@ -12,7 +12,8 @@ // ASAN options: // * don't dump the coverage to disk. // * enable coverage by default. +// * enable handle_abort. //===----------------------------------------------------------------------===// extern "C" const char *__asan_default_options() { - return "coverage_pcs=0:coverage=1"; + return "coverage_pcs=0:coverage=1:handle_abort=1"; }