We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd9a0c2 commit d2e8381Copy full SHA for d2e8381
test/SILGen/tsan_instrumentation.swift
@@ -1,9 +1,7 @@
1
// RUN: %target-swift-emit-silgen -sanitize=thread %s | %FileCheck %s
2
-// REQUIRES: tsan_runtime
3
4
-// FIXME: This should be covered by "tsan_runtime"; older versions of Apple OSs
5
-// don't support TSan.
6
-// UNSUPPORTED: remote_run
+// TSan is only supported on 64 bit.
+// REQUIRES: PTRSIZE=64
7
8
func takesInout(_ p: inout Int) { }
9
func takesInout(_ p: inout MyStruct) { }
test/lit.cfg
@@ -1228,7 +1228,7 @@ runtime_libs = {
1228
'fuzzer': 'fuzzer_runtime'
1229
}
1230
1231
-if run_ptrsize != "32" and 'libdispatch' in config.available_features:
+if run_ptrsize == '64' and 'libdispatch' in config.available_features:
1232
runtime_libs['tsan'] = 'tsan_runtime'
1233
1234
check_runtime_libs(runtime_libs)
0 commit comments