1 //===-- sanitizer_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 ThreadSanitizer/AddressSanitizer runtime. 11 // 12 //===----------------------------------------------------------------------===// 13 14 #ifndef SANITIZER_FLAGS_H 15 #define SANITIZER_FLAGS_H 16 17 #include "sanitizer_internal_defs.h" 18 19 namespace __sanitizer { 20 21 void ParseFlag(const char *env, bool *flag, const char *name); 22 void ParseFlag(const char *env, int *flag, const char *name); 23 void ParseFlag(const char *env, const char **flag, const char *name); 24 25 } // namespace __sanitizer 26 27 #endif // SANITIZER_FLAGS_H 28