Mercurial > hg > CbC > CbC_gcc
view libsanitizer/tsan/tsan_flags.h @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
//===-- tsan_flags.h --------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file is a part of ThreadSanitizer (TSan), a race detector. // NOTE: This file may be included into user code. //===----------------------------------------------------------------------===// #ifndef TSAN_FLAGS_H #define TSAN_FLAGS_H #include "sanitizer_common/sanitizer_flags.h" #include "sanitizer_common/sanitizer_deadlock_detector_interface.h" namespace __tsan { struct Flags : DDFlags { #define TSAN_FLAG(Type, Name, DefaultValue, Description) Type Name; #include "tsan_flags.inc" #undef TSAN_FLAG void SetDefaults(); void ParseFromString(const char *str); }; void InitializeFlags(Flags *flags, const char *env, const char *env_option_name = nullptr); } // namespace __tsan #endif // TSAN_FLAGS_H