Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / lib / dfsan / dfsan_flags.h
blobec7edf6112a91d6d59d25dbddabf7cbc5d6d4924
1 //===-- dfsan_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 DataFlowSanitizer.
11 // DFSan flags.
12 //===----------------------------------------------------------------------===//
14 #ifndef DFSAN_FLAGS_H
15 #define DFSAN_FLAGS_H
17 namespace __dfsan {
19 struct Flags {
20 #define DFSAN_FLAG(Type, Name, DefaultValue, Description) Type Name;
21 #include "dfsan_flags.inc"
22 #undef DFSAN_FLAG
24 void SetDefaults();
27 extern Flags flags_data;
28 inline Flags &flags() { return flags_data; }
30 } // namespace __dfsan
32 #endif // DFSAN_FLAGS_H