[llvm] r260611 - [libfuzzer] Removing coverage-related flags from asan options.

Mike Aizatsky via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 14:20:35 PST 2016


Author: aizatsky
Date: Thu Feb 11 16:20:34 2016
New Revision: 260611

URL: http://llvm.org/viewvc/llvm-project?rev=260611&view=rev
Log:
[libfuzzer] Removing coverage-related flags from asan options.

Summary:
Reasons to remove are twofold:
 - we don't really need coverage=1 for libfuzzer operation
 - makes controlling coverage for fuzzer processes non-trivial.

Differential Revision: http://reviews.llvm.org/D17168

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=260611&r1=260610&r2=260611&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/FuzzerSanitizerOptions.cpp (original)
+++ llvm/trunk/lib/Fuzzer/FuzzerSanitizerOptions.cpp Thu Feb 11 16:20:34 2016
@@ -10,10 +10,8 @@
 // Options reside in a separate file, so if we don't want to set the default
 // options we simply do not link this file in.
 // 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:handle_abort=1";
+  return "handle_abort=1";
 }




More information about the llvm-commits mailing list