blob: 1c58f3a0694fca3b9a9e4da13a5c5e5ca349ef73 [file] [log] [blame]
Kostya Serebryanydb4d6452015-02-06 19:52:07 +00001//===- FuzzerSanitizerOptions.cpp - default flags for sanitizers ----------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9// Set default options for sanitizers while running the fuzzer.
10// Options reside in a separate file, so if we don't want to set the default
11// options we simply do not link this file in.
12// ASAN options:
13// * don't dump the coverage to disk.
14// * enable coverage by default.
15//===----------------------------------------------------------------------===//
16extern "C" const char *__asan_default_options() {
17 return "coverage_pcs=0:coverage=1";
18}