[Sanitizer] extend internal libc with stat/fstat/lstat functions
[blocksruntime.git] / lib / sanitizer_common / sanitizer_flags.h
blobb7ce4524b0551d594c35038cc945803439d9d34e
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.
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