mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add a "black hole" uninstrumented function to the test that prevents the compiler from removing an unused read that needs to be instrumented by TSan for the test to pass. This is needed to prevent the optimizer from removing a useless read when static enforcement of exclusivity is turned on.