From 6a540c1f38400f50f059d75a7efaecc5916e148e Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Fri, 12 Aug 2016 11:56:36 +0000 Subject: [PATCH] [mips] XFAIL the new mips64el compiler-rt tests that fail on clang-cmake-mipsel. The mips64el compiler-rt build has recently been enabled. XFAIL the failing tests to make the buildbot green again. The two asan tests require the integrated assembler. This will be fixed soon for Debian mips64el but not for any other mips64el targets since doing so requires triple-related issues to be fixed.. The msan tests are largely failing because caused by a kernel update (a patch has already been posted for this). I'm not sure why the dfsan test fails yet. llvm-svn: 278504 --- compiler-rt/test/asan/TestCases/Linux/local_alias.cc | 3 +++ compiler-rt/test/asan/TestCases/Linux/odr-violation.cc | 3 +++ compiler-rt/test/dfsan/custom.cc | 2 ++ compiler-rt/test/msan/Linux/cmsghdr.cc | 2 ++ compiler-rt/test/msan/Linux/eventfd.cc | 2 ++ compiler-rt/test/msan/Linux/fopencookie.cc | 2 ++ compiler-rt/test/msan/Linux/forkpty.cc | 3 +++ compiler-rt/test/msan/Linux/getresid.cc | 2 ++ compiler-rt/test/msan/Linux/glob.cc | 2 ++ compiler-rt/test/msan/Linux/glob_altdirfunc.cc | 2 ++ compiler-rt/test/msan/Linux/glob_nomatch.cc | 2 ++ compiler-rt/test/msan/Linux/ioctl_sound.cc | 2 ++ compiler-rt/test/msan/Linux/mallinfo.cc | 2 ++ compiler-rt/test/msan/Linux/mincore.cc | 2 ++ compiler-rt/test/msan/Linux/obstack.cc | 2 ++ compiler-rt/test/msan/Linux/process_vm_readv.cc | 2 ++ compiler-rt/test/msan/Linux/sendmsg.cc | 2 ++ compiler-rt/test/msan/Linux/sunrpc.cc | 2 ++ compiler-rt/test/msan/Linux/sunrpc_bytes.cc | 2 ++ compiler-rt/test/msan/Linux/sunrpc_string.cc | 2 ++ 20 files changed, 43 insertions(+) diff --git a/compiler-rt/test/asan/TestCases/Linux/local_alias.cc b/compiler-rt/test/asan/TestCases/Linux/local_alias.cc index 2351213..8c80f87 100644 --- a/compiler-rt/test/asan/TestCases/Linux/local_alias.cc +++ b/compiler-rt/test/asan/TestCases/Linux/local_alias.cc @@ -6,7 +6,10 @@ // // FIXME: https://github.com/google/sanitizers/issues/316 // XFAIL: android +// +// This test requires the integrated assembler to be the default. // XFAIL: target-is-mips64 +// XFAIL: target-is-mips64el // // RUN: %clangxx_asan -DBUILD_INSTRUMENTED_DSO=1 -fPIC -shared -mllvm -asan-use-private-alias %s -o %t-INSTRUMENTED-SO.so // RUN: %clangxx -DBUILD_UNINSTRUMENTED_DSO=1 -fPIC -shared %s -o %t-UNINSTRUMENTED-SO.so diff --git a/compiler-rt/test/asan/TestCases/Linux/odr-violation.cc b/compiler-rt/test/asan/TestCases/Linux/odr-violation.cc index 0938ef6..d909143 100644 --- a/compiler-rt/test/asan/TestCases/Linux/odr-violation.cc +++ b/compiler-rt/test/asan/TestCases/Linux/odr-violation.cc @@ -1,6 +1,9 @@ // FIXME: https://code.google.com/p/address-sanitizer/issues/detail?id=316 // XFAIL: android +// +// This test requires the integrated assembler to be the default. // XFAIL: target-is-mips64 +// XFAIL: target-is-mips64el // // We use fast_unwind_on_malloc=0 to have full unwinding even w/o frame // pointers. This setting is not on by default because it's too expensive. diff --git a/compiler-rt/test/dfsan/custom.cc b/compiler-rt/test/dfsan/custom.cc index 71422f7..c96d940 100644 --- a/compiler-rt/test/dfsan/custom.cc +++ b/compiler-rt/test/dfsan/custom.cc @@ -3,6 +3,8 @@ // RUN: %clang_dfsan -DSTRICT_DATA_DEPENDENCIES %s -o %t && %run %t // RUN: %clang_dfsan -DSTRICT_DATA_DEPENDENCIES -mllvm -dfsan-args-abi %s -o %t && %run %t +// XFAIL: target-is-mips64el + // Tests custom implementations of various glibc functions. #include diff --git a/compiler-rt/test/msan/Linux/cmsghdr.cc b/compiler-rt/test/msan/Linux/cmsghdr.cc index daed1ba..d18415a 100644 --- a/compiler-rt/test/msan/Linux/cmsghdr.cc +++ b/compiler-rt/test/msan/Linux/cmsghdr.cc @@ -10,6 +10,8 @@ // UNSUPPORTED: android +// XFAIL: target-is-mips64el + #include #include #include diff --git a/compiler-rt/test/msan/Linux/eventfd.cc b/compiler-rt/test/msan/Linux/eventfd.cc index 4399211..62e19b2 100644 --- a/compiler-rt/test/msan/Linux/eventfd.cc +++ b/compiler-rt/test/msan/Linux/eventfd.cc @@ -1,5 +1,7 @@ // RUN: %clangxx_msan -O0 %s -o %t && %run %t 2>&1 +// XFAIL: target-is-mips64el + #include #include diff --git a/compiler-rt/test/msan/Linux/fopencookie.cc b/compiler-rt/test/msan/Linux/fopencookie.cc index e5b8f93..551e891 100644 --- a/compiler-rt/test/msan/Linux/fopencookie.cc +++ b/compiler-rt/test/msan/Linux/fopencookie.cc @@ -2,6 +2,8 @@ // RUN: %clangxx_msan -std=c++11 -O0 %s -o %t && %run %t // RUN: %clangxx_msan -std=c++11 -fsanitize-memory-track-origins -O0 %s -o %t && %run %t +// XFAIL: target-is-mips64el + #include #include #include diff --git a/compiler-rt/test/msan/Linux/forkpty.cc b/compiler-rt/test/msan/Linux/forkpty.cc index ae5c7d9..7a80945 100644 --- a/compiler-rt/test/msan/Linux/forkpty.cc +++ b/compiler-rt/test/msan/Linux/forkpty.cc @@ -1,4 +1,7 @@ // RUN: %clangxx_msan -O0 -g %s -lutil -o %t && %run %t + +// XFAIL: target-is-mips64el + #include #include diff --git a/compiler-rt/test/msan/Linux/getresid.cc b/compiler-rt/test/msan/Linux/getresid.cc index f3c0914..06e1374 100644 --- a/compiler-rt/test/msan/Linux/getresid.cc +++ b/compiler-rt/test/msan/Linux/getresid.cc @@ -2,6 +2,8 @@ // RUN: %clangxx_msan -O0 -D_FILE_OFFSET_BITS=64 %s -o %t && %run %t %p 2>&1 // RUN: %clangxx_msan -O3 %s -o %t && %run %t %p 2>&1 +// XFAIL: target-is-mips64el + #include #include diff --git a/compiler-rt/test/msan/Linux/glob.cc b/compiler-rt/test/msan/Linux/glob.cc index 1481861..50096c0 100644 --- a/compiler-rt/test/msan/Linux/glob.cc +++ b/compiler-rt/test/msan/Linux/glob.cc @@ -2,6 +2,8 @@ // RUN: %clangxx_msan -O0 -D_FILE_OFFSET_BITS=64 %s -o %t && %run %t %p 2>&1 | FileCheck %s // RUN: %clangxx_msan -O3 %s -o %t && %run %t %p 2>&1 | FileCheck %s +// XFAIL: target-is-mips64el + #include #include #include diff --git a/compiler-rt/test/msan/Linux/glob_altdirfunc.cc b/compiler-rt/test/msan/Linux/glob_altdirfunc.cc index cb7fe09..d0cb4bc 100644 --- a/compiler-rt/test/msan/Linux/glob_altdirfunc.cc +++ b/compiler-rt/test/msan/Linux/glob_altdirfunc.cc @@ -2,6 +2,8 @@ // RUN: %clangxx_msan -O0 -D_FILE_OFFSET_BITS=64 %s -o %t && %run %t %p 2>&1 | FileCheck %s // RUN: %clangxx_msan -O3 %s -o %t && %run %t %p 2>&1 | FileCheck %s +// XFAIL: target-is-mips64el + #include #include #include diff --git a/compiler-rt/test/msan/Linux/glob_nomatch.cc b/compiler-rt/test/msan/Linux/glob_nomatch.cc index fa132c8..5845513 100644 --- a/compiler-rt/test/msan/Linux/glob_nomatch.cc +++ b/compiler-rt/test/msan/Linux/glob_nomatch.cc @@ -1,6 +1,8 @@ // RUN: %clangxx_msan -O0 %s -o %t && %run %t %p // RUN: %clangxx_msan -O3 %s -o %t && %run %t %p +// XFAIL: target-is-mips64el + #include #include #include diff --git a/compiler-rt/test/msan/Linux/ioctl_sound.cc b/compiler-rt/test/msan/Linux/ioctl_sound.cc index fb36c52..d7b38fa 100644 --- a/compiler-rt/test/msan/Linux/ioctl_sound.cc +++ b/compiler-rt/test/msan/Linux/ioctl_sound.cc @@ -1,6 +1,8 @@ // RUN: %clangxx_msan -O0 -g %s -o %t && %run %t // RUN: %clangxx_msan -O3 -g %s -o %t && %run %t +// XFAIL: target-is-mips64el + #include #include #include diff --git a/compiler-rt/test/msan/Linux/mallinfo.cc b/compiler-rt/test/msan/Linux/mallinfo.cc index 545ae93..577a193 100644 --- a/compiler-rt/test/msan/Linux/mallinfo.cc +++ b/compiler-rt/test/msan/Linux/mallinfo.cc @@ -1,6 +1,8 @@ // RUN: %clangxx_msan -O0 -g %s -o %t && %run %t // REQUIRES: stable-runtime +// XFAIL: target-is-mips64el + #include #include diff --git a/compiler-rt/test/msan/Linux/mincore.cc b/compiler-rt/test/msan/Linux/mincore.cc index 35f5713..a229d4b 100644 --- a/compiler-rt/test/msan/Linux/mincore.cc +++ b/compiler-rt/test/msan/Linux/mincore.cc @@ -1,5 +1,7 @@ // RUN: %clangxx_msan -std=c++11 -O0 %s -o %t && %run %t +// XFAIL: target-is-mips64el + #include #include #include diff --git a/compiler-rt/test/msan/Linux/obstack.cc b/compiler-rt/test/msan/Linux/obstack.cc index f1f53be..e59f09c 100644 --- a/compiler-rt/test/msan/Linux/obstack.cc +++ b/compiler-rt/test/msan/Linux/obstack.cc @@ -1,6 +1,8 @@ // RUN: %clangxx_msan -O0 -g %s -o %t && %run %t // RUN: %clangxx_msan -O0 -g -DPOSITIVE %s -o %t && not %run %t |& FileCheck %s +// XFAIL: target-is-mips64el + #include #include #include diff --git a/compiler-rt/test/msan/Linux/process_vm_readv.cc b/compiler-rt/test/msan/Linux/process_vm_readv.cc index b61578d..4c7cafa 100644 --- a/compiler-rt/test/msan/Linux/process_vm_readv.cc +++ b/compiler-rt/test/msan/Linux/process_vm_readv.cc @@ -1,6 +1,8 @@ // RUN: %clangxx_msan -std=c++11 -O0 %s -o %t && %run %t // RUN: %clangxx_msan -std=c++11 -O0 %s -o %t -DPOSITIVE && not %run %t |& FileCheck %s +// XFAIL: target-is-mips64el + #include #include #include diff --git a/compiler-rt/test/msan/Linux/sendmsg.cc b/compiler-rt/test/msan/Linux/sendmsg.cc index 6a8ef83..e04559c 100644 --- a/compiler-rt/test/msan/Linux/sendmsg.cc +++ b/compiler-rt/test/msan/Linux/sendmsg.cc @@ -15,6 +15,8 @@ // UNSUPPORTED: android +// XFAIL: target-is-mips64el + #include #include #include diff --git a/compiler-rt/test/msan/Linux/sunrpc.cc b/compiler-rt/test/msan/Linux/sunrpc.cc index c92ad63..8acb155 100644 --- a/compiler-rt/test/msan/Linux/sunrpc.cc +++ b/compiler-rt/test/msan/Linux/sunrpc.cc @@ -11,6 +11,8 @@ // RUN: %clangxx_msan -g -O0 -DTYPE=u_quad_t -DFN=xdr_u_longlong_t -DUNINIT=1 %s -o %t && \ // RUN: not %run %t 2>&1 | FileCheck %s +// XFAIL: target-is-mips64el + #include #include diff --git a/compiler-rt/test/msan/Linux/sunrpc_bytes.cc b/compiler-rt/test/msan/Linux/sunrpc_bytes.cc index 477637a..4d46d55 100644 --- a/compiler-rt/test/msan/Linux/sunrpc_bytes.cc +++ b/compiler-rt/test/msan/Linux/sunrpc_bytes.cc @@ -3,6 +3,8 @@ // RUN: %clangxx_msan -g -O0 -DUNINIT=1 %s -o %t && \ // RUN: not %run %t 2>&1 | FileCheck %s +// XFAIL: target-is-mips64el + #include #include #include diff --git a/compiler-rt/test/msan/Linux/sunrpc_string.cc b/compiler-rt/test/msan/Linux/sunrpc_string.cc index 350222f..53bea26 100644 --- a/compiler-rt/test/msan/Linux/sunrpc_string.cc +++ b/compiler-rt/test/msan/Linux/sunrpc_string.cc @@ -3,6 +3,8 @@ // RUN: %clangxx_msan -g -O0 -DUNINIT=1 %s -o %t && \ // RUN: not %run %t 2>&1 | FileCheck %s +// XFAIL: target-is-mips64el + #include #include #include -- 2.7.4