]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/hwasan/hwasan_flags.h
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / 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