1 //===-- tsan_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 (TSan), a race detector.
11 // NOTE: This file may be included into user code.
12 //===----------------------------------------------------------------------===//
17 #include "sanitizer_common/sanitizer_flags.h"
18 #include "sanitizer_common/sanitizer_deadlock_detector_interface.h"
22 struct Flags : DDFlags {
23 #define TSAN_FLAG(Type, Name, DefaultValue, Description) Type Name;
24 #include "tsan_flags.inc"
28 void ParseFromString(const char *str);
31 void InitializeFlags(Flags *flags, const char *env);
34 #endif // TSAN_FLAGS_H