* lto.c (do_stream_out): Add PART parameter; open dump file.
[official-gcc.git] / libsanitizer / sanitizer_common / sancov_flags.h
blobf7e0186c5112afe2299dab01892f186bd76077c8
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
14 #include "sanitizer_flag_parser.h"
15 #include "sanitizer_internal_defs.h"
17 namespace __sancov {
19 struct SancovFlags {
20 #define SANCOV_FLAG(Type, Name, DefaultValue, Description) Type Name;
21 #include "sancov_flags.inc"
22 #undef SANCOV_FLAG
24 void SetDefaults();
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();
38 #endif