diff options
author | Volodymyr Sapsai <vsapsai@apple.com> | 2018-05-03 23:06:37 +0000 |
---|---|---|
committer | Volodymyr Sapsai <vsapsai@apple.com> | 2018-05-03 23:06:37 +0000 |
commit | dd13b645eb3a61963b6c50ae0f5e683ee854ba44 (patch) | |
tree | 8178bc9c58a81c5c2fce1898a127021eb796967c /test | |
parent | 4abc204921c22631d0ba88e5f99e2f3757713d7a (diff) |
Revert "Follow-up to r331378. Update tests to allow to use C atomics in C++."
It reverts commit r331484 because it caused test failures
ThreadSanitizer-x86_64 :: Darwin/gcd-groups-destructor.mm
ThreadSanitizer-x86_64 :: Darwin/libcxx-shared-ptr-stress.mm
ThreadSanitizer-x86_64 :: Darwin/xpc-race.mm
Foundation.h transitively includes <atomic>, so we have a case of benign mixing
<stdatomic.h> and <atomic>.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@331491 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/tsan/Darwin/gcd-groups-destructor.mm | 2 | ||||
-rw-r--r-- | test/tsan/Darwin/libcxx-shared-ptr-stress.mm | 2 | ||||
-rw-r--r-- | test/tsan/Darwin/xpc-race.mm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/tsan/Darwin/gcd-groups-destructor.mm b/test/tsan/Darwin/gcd-groups-destructor.mm index 60b8f3a0a..05c65c04b 100644 --- a/test/tsan/Darwin/gcd-groups-destructor.mm +++ b/test/tsan/Darwin/gcd-groups-destructor.mm @@ -1,4 +1,4 @@ -// RUN: %clangxx_tsan %s -o %t -framework Foundation -D__ALLOW_STDC_ATOMICS_IN_CXX__ +// RUN: %clangxx_tsan %s -o %t -framework Foundation // RUN: %run %t 2>&1 | FileCheck %s #import <Foundation/Foundation.h> diff --git a/test/tsan/Darwin/libcxx-shared-ptr-stress.mm b/test/tsan/Darwin/libcxx-shared-ptr-stress.mm index 9e4c142e8..e5cd7edc6 100644 --- a/test/tsan/Darwin/libcxx-shared-ptr-stress.mm +++ b/test/tsan/Darwin/libcxx-shared-ptr-stress.mm @@ -1,4 +1,4 @@ -// RUN: %clangxx_tsan %s -o %t -framework Foundation -D__ALLOW_STDC_ATOMICS_IN_CXX__ +// RUN: %clangxx_tsan %s -o %t -framework Foundation // RUN: %run %t 2>&1 | FileCheck %s #import <Foundation/Foundation.h> diff --git a/test/tsan/Darwin/xpc-race.mm b/test/tsan/Darwin/xpc-race.mm index 77d39ac92..872c9ee73 100644 --- a/test/tsan/Darwin/xpc-race.mm +++ b/test/tsan/Darwin/xpc-race.mm @@ -1,4 +1,4 @@ -// RUN: %clangxx_tsan %s -o %t -framework Foundation -D__ALLOW_STDC_ATOMICS_IN_CXX__ +// RUN: %clangxx_tsan %s -o %t -framework Foundation // RUN: %deflake %run %t 2>&1 | FileCheck %s // UNSUPPORTED: ios |