vsapsai created this revision.
vsapsai added a reviewer: kubamracek.

https://reviews.llvm.org/D46363

Files:
  compiler-rt/test/tsan/Darwin/gcd-groups-destructor.mm
  compiler-rt/test/tsan/Darwin/libcxx-shared-ptr-stress.mm
  compiler-rt/test/tsan/Darwin/xpc-race.mm


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
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 <Foundation/Foundation.h>
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 <Foundation/Foundation.h>


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
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 <Foundation/Foundation.h>
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 <Foundation/Foundation.h>
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to