]> git.ipfire.org Git - thirdparty/gcc.git/blame - libsanitizer/sanitizer_common/sancov_flags.h
Remove support for alternative Solaris 11.4 ld -V output
[thirdparty/gcc.git] / libsanitizer / sanitizer_common / sancov_flags.h
CommitLineData
36093749 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
17namespace __sancov {
18
19struct 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
27extern SancovFlags sancov_flags_dont_use_directly;
28
29inline SancovFlags* sancov_flags() { return &sancov_flags_dont_use_directly; }
30
31void InitializeSancovFlags();
32
33} // namespace __sancov
34
35extern "C" SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE const char*
36__sancov_default_options();
37
38#endif