v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
tsan.h
Go to the documentation of this file.
1
// Copyright 2021 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef V8_BASE_SANITIZER_TSAN_H_
6
#define V8_BASE_SANITIZER_TSAN_H_
7
8
// ThreadSanitizer support.
9
10
#if defined(THREAD_SANITIZER)
11
12
#define DISABLE_TSAN __attribute__((no_sanitize_thread))
13
14
#else
// !defined(THREAD_SANITIZER)
15
16
#define DISABLE_TSAN
17
18
#endif
// !defined(THREAD_SANITIZER)
19
20
#endif
// V8_BASE_SANITIZER_TSAN_H_
src
base
sanitizer
tsan.h
Generated on Sun Apr 6 2025 21:08:50 for v8 by
1.12.0