Skip to content

Commit 4abc204

Browse files
committed
Follow-up to r331378. Update tests to allow to use C atomics in C++.
Reviewers: kubamracek Reviewed By: kubamracek Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D46363 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@331484 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 0893687 commit 4abc204

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: test/tsan/Darwin/gcd-groups-destructor.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx_tsan %s -o %t -framework Foundation
1+
// RUN: %clangxx_tsan %s -o %t -framework Foundation -D__ALLOW_STDC_ATOMICS_IN_CXX__
22
// RUN: %run %t 2>&1 | FileCheck %s
33

44
#import <Foundation/Foundation.h>

Diff for: test/tsan/Darwin/libcxx-shared-ptr-stress.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx_tsan %s -o %t -framework Foundation
1+
// RUN: %clangxx_tsan %s -o %t -framework Foundation -D__ALLOW_STDC_ATOMICS_IN_CXX__
22
// RUN: %run %t 2>&1 | FileCheck %s
33

44
#import <Foundation/Foundation.h>

Diff for: test/tsan/Darwin/xpc-race.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx_tsan %s -o %t -framework Foundation
1+
// RUN: %clangxx_tsan %s -o %t -framework Foundation -D__ALLOW_STDC_ATOMICS_IN_CXX__
22
// RUN: %deflake %run %t 2>&1 | FileCheck %s
33

44
// UNSUPPORTED: ios

0 commit comments

Comments
 (0)