diff --git a/compiler-rt/test/tsan/Darwin/gcd-groups-destructor.mm b/compiler-rt/test/tsan/Darwin/gcd-groups-destructor.mm index 05c65c04b665..60b8f3a0a48e 100644 --- a/compiler-rt/test/tsan/Darwin/gcd-groups-destructor.mm +++ b/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 diff --git a/compiler-rt/test/tsan/Darwin/libcxx-shared-ptr-stress.mm b/compiler-rt/test/tsan/Darwin/libcxx-shared-ptr-stress.mm index e5cd7edc6bb7..9e4c142e83e1 100644 --- a/compiler-rt/test/tsan/Darwin/libcxx-shared-ptr-stress.mm +++ b/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 diff --git a/compiler-rt/test/tsan/Darwin/xpc-race.mm b/compiler-rt/test/tsan/Darwin/xpc-race.mm index 872c9ee73e13..77d39ac92ea0 100644 --- a/compiler-rt/test/tsan/Darwin/xpc-race.mm +++ b/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