1 //===-- scudo_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 /// Header for scudo_flags.cpp. 11 /// 12 //===----------------------------------------------------------------------===// 13 14 #ifndef SCUDO_FLAGS_H_ 15 #define SCUDO_FLAGS_H_ 16 17 namespace __scudo { 18 19 struct Flags { 20 #define SCUDO_FLAG(Type, Name, DefaultValue, Description) Type Name; 21 #include "scudo_flags.inc" 22 #undef SCUDO_FLAG 23 24 void setDefaults(); 25 }; 26 27 Flags *getFlags(); 28 29 void initFlags(); 30 31 } // namespace __scudo 32 33 #endif // SCUDO_FLAGS_H_ 34