* gcc-interface/trans.c (Subprogram_Body_to_gnu): Initialize locus.
[official-gcc.git] / libsanitizer / tsan / tsan_flags.h
blob35b0efc1c6b57d6ef5a709f6f1d5b29b498909a9
1 //===-- tsan_flags.h --------------------------------------------*- C++ -*-===//
2 //
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
5 //
6 //===----------------------------------------------------------------------===//
7 //
8 // This file is a part of ThreadSanitizer (TSan), a race detector.
9 // NOTE: This file may be included into user code.
10 //===----------------------------------------------------------------------===//
12 #ifndef TSAN_FLAGS_H
13 #define TSAN_FLAGS_H
15 #include "sanitizer_common/sanitizer_flags.h"
16 #include "sanitizer_common/sanitizer_deadlock_detector_interface.h"
18 namespace __tsan {
20 struct Flags : DDFlags {
21 #define TSAN_FLAG(Type, Name, DefaultValue, Description) Type Name;
22 #include "tsan_flags.inc"
23 #undef TSAN_FLAG
25 void SetDefaults();
26 void ParseFromString(const char *str);
29 void InitializeFlags(Flags *flags, const char *env);
30 } // namespace __tsan
32 #endif // TSAN_FLAGS_H