diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-02 18:30:55 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-02 18:30:55 +0000 |
commit | 8d8e909cdc9f4e78e1e1600497d827e1acde6cea (patch) | |
tree | c8c6047827589e56f2ed1f77f23b1f7d1a10e793 /test/tsan | |
parent | 2953104c9a262728031dc518429d15b969dd6028 (diff) | |
download | src-8d8e909cdc9f4e78e1e1600497d827e1acde6cea.tar.gz src-8d8e909cdc9f4e78e1e1600497d827e1acde6cea.zip |
Vendor import of compiler-rt trunk r301939:vendor/compiler-rt/compiler-rt-trunk-r301939
Notes
Notes:
svn path=/vendor/compiler-rt/dist/; revision=317687
svn path=/vendor/compiler-rt/compiler-rt-trunk-r301939/; revision=317688; tag=vendor/compiler-rt/compiler-rt-trunk-r301939
Diffstat (limited to 'test/tsan')
-rw-r--r-- | test/tsan/Darwin/xpc-cancel.mm | 2 | ||||
-rw-r--r-- | test/tsan/Darwin/xpc-race.mm | 6 | ||||
-rw-r--r-- | test/tsan/Darwin/xpc.mm | 2 | ||||
-rw-r--r-- | test/tsan/ignore_lib1.cc | 3 | ||||
-rw-r--r-- | test/tsan/ignore_lib5.cc | 3 |
5 files changed, 14 insertions, 2 deletions
diff --git a/test/tsan/Darwin/xpc-cancel.mm b/test/tsan/Darwin/xpc-cancel.mm index 5e326b7e4973..91dafc3eadda 100644 --- a/test/tsan/Darwin/xpc-cancel.mm +++ b/test/tsan/Darwin/xpc-cancel.mm @@ -1,6 +1,8 @@ // RUN: %clang_tsan %s -o %t -framework Foundation // RUN: %run %t 2>&1 | FileCheck %s +// XFAIL: ios + #import <Foundation/Foundation.h> #import <xpc/xpc.h> diff --git a/test/tsan/Darwin/xpc-race.mm b/test/tsan/Darwin/xpc-race.mm index eaef4e06c1f6..2e965e4a0a1c 100644 --- a/test/tsan/Darwin/xpc-race.mm +++ b/test/tsan/Darwin/xpc-race.mm @@ -1,6 +1,8 @@ // RUN: %clang_tsan %s -o %t -framework Foundation // RUN: %deflake %run %t 2>&1 | FileCheck %s +// XFAIL: ios + #import <Foundation/Foundation.h> #import <xpc/xpc.h> @@ -74,8 +76,8 @@ int main(int argc, const char *argv[]) { // CHECK: Hello world. // CHECK: WARNING: ThreadSanitizer: data race // CHECK: Write of size 8 -// CHECK: #0 {{.*}}xpc-race.mm:34 +// CHECK: #0 {{.*}}xpc-race.mm:36 // CHECK: Previous write of size 8 -// CHECK: #0 {{.*}}xpc-race.mm:34 +// CHECK: #0 {{.*}}xpc-race.mm:36 // CHECK: Location is global 'global' // CHECK: Done. diff --git a/test/tsan/Darwin/xpc.mm b/test/tsan/Darwin/xpc.mm index 2d6de269b59f..c5e78a5779e0 100644 --- a/test/tsan/Darwin/xpc.mm +++ b/test/tsan/Darwin/xpc.mm @@ -1,6 +1,8 @@ // RUN: %clang_tsan %s -o %t -framework Foundation // RUN: %run %t 2>&1 | FileCheck %s +// XFAIL: ios + #import <Foundation/Foundation.h> #import <xpc/xpc.h> diff --git a/test/tsan/ignore_lib1.cc b/test/tsan/ignore_lib1.cc index e6a13a394395..5949d811ed44 100644 --- a/test/tsan/ignore_lib1.cc +++ b/test/tsan/ignore_lib1.cc @@ -9,6 +9,9 @@ // in called_from_lib suppression are ignored. // REQUIRES: stable-runtime +// UNSUPPORTED: powerpc64le +// FIXME: This test regularly fails on powerpc64 LE possibly starting with +// r279664. Re-enable the test once the problem(s) have been fixed. #ifndef LIB diff --git a/test/tsan/ignore_lib5.cc b/test/tsan/ignore_lib5.cc index d7cd28500be9..54630d534c34 100644 --- a/test/tsan/ignore_lib5.cc +++ b/test/tsan/ignore_lib5.cc @@ -6,6 +6,9 @@ // RUN: %env_tsan_opts=suppressions='%s.supp' %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-WITHSUPP // REQUIRES: stable-runtime +// UNSUPPORTED: powerpc64le +// FIXME: This test occasionally fails on powerpc64 LE possibly starting with +// r279664. Re-enable the test once the problem(s) have been fixed. // Previously the test episodically failed with: // ThreadSanitizer: called_from_lib suppression '/libignore_lib1.so$' is |