]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/hwasan/hwasan_flags.h
Vendor import of compiler-rt trunk r351319 (just before the release_80
[FreeBSD/FreeBSD.git] / lib / hwasan / hwasan_flags.h
1 //===-- hwasan_flags.h ------------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file is a part of HWAddressSanitizer.
11 //
12 //===----------------------------------------------------------------------===//
13 #ifndef HWASAN_FLAGS_H
14 #define HWASAN_FLAGS_H
15
16 namespace __hwasan {
17
18 struct Flags {
19 #define HWASAN_FLAG(Type, Name, DefaultValue, Description) Type Name;
20 #include "hwasan_flags.inc"
21 #undef HWASAN_FLAG
22
23   void SetDefaults();
24 };
25
26 Flags *flags();
27
28 }  // namespace __hwasan
29
30 #endif  // HWASAN_FLAGS_H