1 //===-- sancov_flags.h ------------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Sanitizer Coverage runtime flags.
11 //===----------------------------------------------------------------------===//
12 #ifndef SANCOV_FLAGS_H
13 #define SANCOV_FLAGS_H
15 #include "sanitizer_flag_parser.h"
16 #include "sanitizer_internal_defs.h"
21 #define SANCOV_FLAG(Type, Name, DefaultValue, Description) Type Name;
22 #include "sancov_flags.inc"
28 extern SancovFlags sancov_flags_dont_use_directly
;
30 inline SancovFlags
* sancov_flags() { return &sancov_flags_dont_use_directly
; }
32 void InitializeSancovFlags();
34 } // namespace __sancov
36 extern "C" SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE
const char*
37 __sancov_default_options();