]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/scudo/scudo_flags.h
Merge compiler-rt trunk r366426, resolve conflicts, and add
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / lib / scudo / scudo_flags.h
1 //===-- scudo_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 /// Header for scudo_flags.cpp.
10 ///
11 //===----------------------------------------------------------------------===//
12
13 #ifndef SCUDO_FLAGS_H_
14 #define SCUDO_FLAGS_H_
15
16 namespace __scudo {
17
18 struct Flags {
19 #define SCUDO_FLAG(Type, Name, DefaultValue, Description) Type Name;
20 #include "scudo_flags.inc"
21 #undef SCUDO_FLAG
22
23   void setDefaults();
24 };
25
26 Flags *getFlags();
27
28 void initFlags();
29
30 }  // namespace __scudo
31
32 #endif  // SCUDO_FLAGS_H_