xref: /freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/hwasan_flags.h (revision 2f513db72b034fd5ef7f080b11be5c711c15186a)
1 //===-- hwasan_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 HWAddressSanitizer.
10 //
11 //===----------------------------------------------------------------------===//
12 #ifndef HWASAN_FLAGS_H
13 #define HWASAN_FLAGS_H
14 
15 namespace __hwasan {
16 
17 struct Flags {
18 #define HWASAN_FLAG(Type, Name, DefaultValue, Description) Type Name;
19 #include "hwasan_flags.inc"
20 #undef HWASAN_FLAG
21 
22   void SetDefaults();
23 };
24 
25 Flags *flags();
26 
27 }  // namespace __hwasan
28 
29 #endif  // HWASAN_FLAGS_H
30