From 6222a28db5ed6a04ef7a423dd30d4cc7ce9c216f Mon Sep 17 00:00:00 2001 From: Julian Lettner Date: Thu, 13 Aug 2020 18:06:19 -0700 Subject: [PATCH] [TSan][Darwin] Enable test on non-macOS platforms After removing the unnecessary `-mmacosx-version-min=10.12` compiler flag this test can run on all platforms. I confirmed that this test is green for iOS, iOS simulator, and watchOS simulator. Differential Revision: https://reviews.llvm.org/D85952 --- compiler-rt/test/tsan/Darwin/os_unfair_lock.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler-rt/test/tsan/Darwin/os_unfair_lock.c b/compiler-rt/test/tsan/Darwin/os_unfair_lock.c index e7f0cd5..320e7f5 100644 --- a/compiler-rt/test/tsan/Darwin/os_unfair_lock.c +++ b/compiler-rt/test/tsan/Darwin/os_unfair_lock.c @@ -1,8 +1,6 @@ -// RUN: %clang_tsan %s -o %t -mmacosx-version-min=10.12 +// RUN: %clang_tsan %s -o %t // RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' -// UNSUPPORTED: ios - #include #include #include -- 2.7.4