[llvm] r236476 - [lib/Fuzzer] use handle_abort=1 by default so that when assert() fires we save the test case

Kostya Serebryany kcc at google.com
Mon May 4 18:42:55 PDT 2015


Author: kcc
Date: Mon May  4 20:42:55 2015
New Revision: 236476

URL: http://llvm.org/viewvc/llvm-project?rev=236476&view=rev
Log:
[lib/Fuzzer] use handle_abort=1 by default so that when assert() fires we save the test case 

Modified:
    llvm/trunk/lib/Fuzzer/FuzzerSanitizerOptions.cpp

Modified: llvm/trunk/lib/Fuzzer/FuzzerSanitizerOptions.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/FuzzerSanitizerOptions.cpp?rev=236476&r1=236475&r2=236476&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/FuzzerSanitizerOptions.cpp (original)
+++ llvm/trunk/lib/Fuzzer/FuzzerSanitizerOptions.cpp Mon May  4 20:42:55 2015
@@ -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";
 }





More information about the llvm-commits mailing list