Index: compiler-rt/test/tsan/Darwin/gcd-groups-destructor.mm =================================================================== --- compiler-rt/test/tsan/Darwin/gcd-groups-destructor.mm +++ compiler-rt/test/tsan/Darwin/gcd-groups-destructor.mm @@ -1,4 +1,4 @@ -// RUN: %clangxx_tsan %s -o %t -framework Foundation +// RUN: %clangxx_tsan %s -o %t -framework Foundation -D__ALLOW_STDC_ATOMICS_IN_CXX__ // RUN: %run %t 2>&1 | FileCheck %s #import Index: compiler-rt/test/tsan/Darwin/libcxx-shared-ptr-stress.mm =================================================================== --- compiler-rt/test/tsan/Darwin/libcxx-shared-ptr-stress.mm +++ compiler-rt/test/tsan/Darwin/libcxx-shared-ptr-stress.mm @@ -1,4 +1,4 @@ -// RUN: %clangxx_tsan %s -o %t -framework Foundation +// RUN: %clangxx_tsan %s -o %t -framework Foundation -D__ALLOW_STDC_ATOMICS_IN_CXX__ // RUN: %run %t 2>&1 | FileCheck %s #import Index: compiler-rt/test/tsan/Darwin/xpc-race.mm =================================================================== --- compiler-rt/test/tsan/Darwin/xpc-race.mm +++ compiler-rt/test/tsan/Darwin/xpc-race.mm @@ -1,4 +1,4 @@ -// RUN: %clangxx_tsan %s -o %t -framework Foundation +// RUN: %clangxx_tsan %s -o %t -framework Foundation -D__ALLOW_STDC_ATOMICS_IN_CXX__ // RUN: %deflake %run %t 2>&1 | FileCheck %s // UNSUPPORTED: ios