[lib/Fuzzer] use handle_abort=1 by default so that when assert() fires we save the...
authorKostya Serebryany <kcc@google.com>
Tue, 5 May 2015 01:42:55 +0000 (01:42 +0000)
committerKostya Serebryany <kcc@google.com>
Tue, 5 May 2015 01:42:55 +0000 (01:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236476 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Fuzzer/FuzzerSanitizerOptions.cpp

index 1c58f3a..b2f20dd 100644 (file)
@@ -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";
 }