1 //===-- sanitizer_flags.h ---------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file is a part of ThreadSanitizer/AddressSanitizer runtime.
12 //===----------------------------------------------------------------------===//
14 #ifndef SANITIZER_FLAGS_H
15 #define SANITIZER_FLAGS_H
17 #include "sanitizer_internal_defs.h"
19 namespace __sanitizer
{
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
);
25 } // namespace __sanitizer
27 #endif // SANITIZER_FLAGS_H