diff options
author | Michaël Zasso <targos@protonmail.com> | 2021-07-14 11:30:07 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-07-20 15:24:51 +0200 |
commit | 6cdd310275bb0f8056aa0ae6d95614e9ca5b70c7 (patch) | |
tree | 9ed37b19cd668894854b7f469010f7621e63ef81 /deps/v8/src/sanitizer/tsan.h | |
parent | c0f10006c82d2d9896a552de98ed146f9542720d (diff) | |
download | node-new-6cdd310275bb0f8056aa0ae6d95614e9ca5b70c7.tar.gz |
deps: update V8 to 9.2.230.21
PR-URL: https://github.com/nodejs/node/pull/38990
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/v8/src/sanitizer/tsan.h')
-rw-r--r-- | deps/v8/src/sanitizer/tsan.h | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/deps/v8/src/sanitizer/tsan.h b/deps/v8/src/sanitizer/tsan.h deleted file mode 100644 index 0013b91bfc..0000000000 --- a/deps/v8/src/sanitizer/tsan.h +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2017 the V8 project authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef V8_SANITIZER_TSAN_H_ -#define V8_SANITIZER_TSAN_H_ - -namespace v8 { -namespace base { - -// This file contains annotations for ThreadSanitizer (TSan), a race detector. -// See -// https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_interface_ann.cc - -#if THREAD_SANITIZER - -#define TSAN_ANNOTATE_IGNORE_READS_BEGIN \ - v8::base::AnnotateIgnoreReadsBegin(__FILE__, __LINE__) -#define TSAN_ANNOTATE_IGNORE_READS_END \ - v8::base::AnnotateIgnoreReadsEnd(__FILE__, __LINE__) -#define TSAN_ANNOTATE_IGNORE_WRITES_BEGIN \ - v8::base::AnnotateIgnoreWritesBegin(__FILE__, __LINE__) -#define TSAN_ANNOTATE_IGNORE_WRITES_END \ - v8::base::AnnotateIgnoreWritesEnd(__FILE__, __LINE__) - -extern "C" { - -void AnnotateIgnoreReadsBegin(const char* file, int line); -void AnnotateIgnoreReadsEnd(const char* file, int line); -void AnnotateIgnoreWritesBegin(const char* file, int line); -void AnnotateIgnoreWritesEnd(const char* file, int line); - -} // extern "C" - -#else - -#define TSAN_ANNOTATE_IGNORE_READS_BEGIN ((void)0) -#define TSAN_ANNOTATE_IGNORE_READS_END ((void)0) -#define TSAN_ANNOTATE_IGNORE_WRITES_BEGIN ((void)0) -#define TSAN_ANNOTATE_IGNORE_WRITES_END ((void)0) - -#endif - -} // namespace base -} // namespace v8 - -#endif // V8_SANITIZER_TSAN_H_ |