1 //===-- msan_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 MemorySanitizer. 11 // 12 //===----------------------------------------------------------------------===// 13 #ifndef MSAN_FLAGS_H 14 #define MSAN_FLAGS_H 15 16 namespace __msan { 17 18 struct Flags { 19 #define MSAN_FLAG(Type, Name, DefaultValue, Description) Type Name; 20 #include "msan_flags.inc" 21 #undef MSAN_FLAG 22 23 void SetDefaults(); 24 }; 25 26 Flags *flags(); 27 28 } // namespace __msan 29 30 #endif // MSAN_FLAGS_H 31