1 //===-- tsan_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 (TSan), a race detector.
9 // NOTE: This file may be included into user code.
10 //===----------------------------------------------------------------------===//
15 #include "sanitizer_common/sanitizer_flags.h"
16 #include "sanitizer_common/sanitizer_deadlock_detector_interface.h"
20 struct Flags
: DDFlags
{
21 #define TSAN_FLAG(Type, Name, DefaultValue, Description) Type Name;
22 #include "tsan_flags.inc"
26 void ParseFromString(const char *str
);
29 void InitializeFlags(Flags
*flags
, const char *env
);
32 #endif // TSAN_FLAGS_H