Evgeniy Stepanov | 6722716 | 2012-12-25 11:53:51 +0000 | [diff] [blame] | 1 | //===-- msan_flags.h --------------------------------------------*- C++ -*-===// |
Evgeniy Stepanov | c503378 | 2012-12-11 12:27:27 +0000 | [diff] [blame] | 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 MemorySanitizer. |
| 11 | // |
Evgeniy Stepanov | c503378 | 2012-12-11 12:27:27 +0000 | [diff] [blame] | 12 | //===----------------------------------------------------------------------===// |
| 13 | #ifndef MSAN_FLAGS_H |
| 14 | #define MSAN_FLAGS_H |
| 15 | |
| 16 | namespace __msan { |
| 17 | |
Evgeniy Stepanov | c503378 | 2012-12-11 12:27:27 +0000 | [diff] [blame] | 18 | struct Flags { |
Alexey Samsonov | 03499e9 | 2015-01-07 00:38:00 +0000 | [diff] [blame] | 19 | #define MSAN_FLAG(Type, Name, DefaultValue, Description) Type Name; |
| 20 | #include "msan_flags.inc" |
| 21 | #undef MSAN_FLAG |
| 22 | |
| 23 | void SetDefaults(); |
Evgeniy Stepanov | c503378 | 2012-12-11 12:27:27 +0000 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | Flags *flags(); |
| 27 | |
| 28 | } // namespace __msan |
| 29 | |
| 30 | #endif // MSAN_FLAGS_H |