xref: /freebsd/contrib/llvm-project/compiler-rt/lib/msan/msan_flags.h (revision 02e9120893770924227138ba49df1edb3896112a)
1 //===-- msan_flags.h --------------------------------------------*- C++ -*-===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file is a part of MemorySanitizer.
10 //
11 //===----------------------------------------------------------------------===//
12 #ifndef MSAN_FLAGS_H
13 #define MSAN_FLAGS_H
14 
15 namespace __msan {
16 
17 struct Flags {
18 #define MSAN_FLAG(Type, Name, DefaultValue, Description) Type Name;
19 #include "msan_flags.inc"
20 #undef MSAN_FLAG
21 
22   void SetDefaults();
23 };
24 
25 Flags *flags();
26 
27 }  // namespace __msan
28 
29 #endif  // MSAN_FLAGS_H
30