File tree Expand file tree Collapse file tree 6 files changed +17
-2
lines changed Expand file tree Collapse file tree 6 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ build:clang-tsan --config=clang-xsan
55
55
build:clang-tsan --copt -DTHREAD_SANITIZER=1
56
56
build:clang-tsan --copt -fsanitize=thread
57
57
build:clang-tsan --linkopt -fsanitize=thread
58
+ build:clang-tsan --test_env=TSAN_OPTIONS=suppressions=bazel/tsan_suppressions.txt
58
59
59
60
# Use Clang-Tidy tool.
60
61
build:clang-tidy --config=clang
Original file line number Diff line number Diff line change @@ -68,3 +68,5 @@ selects.config_setting_group(
68
68
":linux_s390x" ,
69
69
],
70
70
)
71
+
72
+ exports_files (["tsan_suppressions.txt" ])
Original file line number Diff line number Diff line change
1
+ load ("@rules_cc//cc:defs.bzl" , _cc_test = "cc_test" )
2
+ load ("@rules_fuzzing//fuzzing:cc_defs.bzl" , _cc_fuzz_test = "cc_fuzz_test" )
3
+
4
+ def cc_test (data = [], ** kwargs ):
5
+ _cc_test (data = data + ['//bazel:tsan_suppressions.txt' ], ** kwargs )
6
+
7
+ def cc_fuzz_test (data = [], ** kwargs ):
8
+ _cc_fuzz_test (data = data + ['//bazel:tsan_suppressions.txt' ], ** kwargs )
9
+
Original file line number Diff line number Diff line change
1
+ # False positive in V8 worker shutdown
2
+ race:v8::platform::DefaultJobHandle::Join
Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
load ("@proxy_wasm_cpp_host//bazel:select.bzl" , "proxy_wasm_select_engine_null" )
16
- load ("@rules_cc//cc:defs.bzl" , "cc_library" , "cc_test" )
16
+ load ("@rules_cc//cc:defs.bzl" , "cc_library" )
17
+ load ("//bazel:cc_defs.bzl" , "cc_test" )
17
18
18
19
licenses (["notice" ]) # Apache 2
19
20
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- load ("@rules_fuzzing//fuzzing :cc_defs.bzl" , "cc_fuzz_test" )
15
+ load ("//bazel :cc_defs.bzl" , "cc_fuzz_test" )
16
16
17
17
licenses (["notice" ]) # Apache 2
18
18
You can’t perform that action at this time.
0 commit comments