Mercurial > hg > CbC > CbC_gcc
comparison libsanitizer/sanitizer_common/sancov_flags.h @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 //===-- sancov_flags.h ------------------------------------------*- C++ -*-===// | |
2 // | |
3 // This file is distributed under the University of Illinois Open Source | |
4 // License. See LICENSE.TXT for details. | |
5 // | |
6 //===----------------------------------------------------------------------===// | |
7 // | |
8 // Sanitizer Coverage runtime flags. | |
9 // | |
10 //===----------------------------------------------------------------------===// | |
11 #ifndef SANCOV_FLAGS_H | |
12 #define SANCOV_FLAGS_H | |
13 | |
14 #include "sanitizer_flag_parser.h" | |
15 #include "sanitizer_internal_defs.h" | |
16 | |
17 namespace __sancov { | |
18 | |
19 struct SancovFlags { | |
20 #define SANCOV_FLAG(Type, Name, DefaultValue, Description) Type Name; | |
21 #include "sancov_flags.inc" | |
22 #undef SANCOV_FLAG | |
23 | |
24 void SetDefaults(); | |
25 }; | |
26 | |
27 extern SancovFlags sancov_flags_dont_use_directly; | |
28 | |
29 inline SancovFlags* sancov_flags() { return &sancov_flags_dont_use_directly; } | |
30 | |
31 void InitializeSancovFlags(); | |
32 | |
33 } // namespace __sancov | |
34 | |
35 extern "C" SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE const char* | |
36 __sancov_default_options(); | |
37 | |
38 #endif |