[TSan][Darwin] Enable test on non-macOS platforms
authorJulian Lettner <julian.lettner@apple.com>
Fri, 14 Aug 2020 01:06:19 +0000 (18:06 -0700)
committerJulian Lettner <julian.lettner@apple.com>
Thu, 20 Aug 2020 19:28:05 +0000 (12:28 -0700)
commit6222a28db5ed6a04ef7a423dd30d4cc7ce9c216f
treea97a20d3ffdcf09018726ff16435694b5b0dfc1a
parentddde8bebb0ce618fdcae969e8b2ac911e842683b
[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