Skip to content

Commit 6222a28

Browse files
author
Julian Lettner
committed
[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
1 parent ddde8be commit 6222a28

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

compiler-rt/test/tsan/Darwin/os_unfair_lock.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
// RUN: %clang_tsan %s -o %t -mmacosx-version-min=10.12
1+
// RUN: %clang_tsan %s -o %t
22
// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer'
33

4-
// UNSUPPORTED: ios
5-
64
#include <os/lock.h>
75
#include <pthread.h>
86
#include <stdio.h>

0 commit comments

Comments
 (0)