1 //===-- sanitizer_flags.h ---------------------------------------*- C++ -*-===//
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
6 //===----------------------------------------------------------------------===//
8 // This file is a part of ThreadSanitizer/AddressSanitizer runtime.
10 //===----------------------------------------------------------------------===//
12 #ifndef SANITIZER_FLAGS_H
13 #define SANITIZER_FLAGS_H
15 #include "sanitizer_internal_defs.h"
17 namespace __sanitizer
{
19 void ParseFlag(const char *env
, bool *flag
, const char *name
);
20 void ParseFlag(const char *env
, int *flag
, const char *name
);
21 void ParseFlag(const char *env
, const char **flag
, const char *name
);
23 } // namespace __sanitizer
25 #endif // SANITIZER_FLAGS_H