1 //===-- sancov_flags.h ------------------------------------------*- C++ -*-===//
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
6 //===----------------------------------------------------------------------===//
8 // Sanitizer Coverage runtime flags.
10 //===----------------------------------------------------------------------===//
11 #ifndef SANCOV_FLAGS_H
12 #define SANCOV_FLAGS_H
14 #include "sanitizer_flag_parser.h"
15 #include "sanitizer_internal_defs.h"
20 #define SANCOV_FLAG(Type, Name, DefaultValue, Description) Type Name;
21 #include "sancov_flags.inc"
27 extern SancovFlags sancov_flags_dont_use_directly
;
29 inline SancovFlags
* sancov_flags() { return &sancov_flags_dont_use_directly
; }
31 void InitializeSancovFlags();
33 } // namespace __sancov
35 extern "C" SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE
const char*
36 __sancov_default_options();