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