From: Daniel Sanders Date: Thu, 18 Aug 2016 10:50:46 +0000 (+0000) Subject: [mips][msan] Fix all the XPASSes following r278793 and r278795 X-Git-Tag: llvmorg-4.0.0-rc1~12102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93c0f382b4a5e91cc5e2689687e85b5d898b7c10;p=platform%2Fupstream%2Fllvm.git [mips][msan] Fix all the XPASSes following r278793 and r278795 All msan tests are now passing for mipsel and mips64el except for allocator_mapping.cc which is marked unsupported. llvm-svn: 279048 --- diff --git a/compiler-rt/test/msan/Linux/cmsghdr.cc b/compiler-rt/test/msan/Linux/cmsghdr.cc index d18415a..daed1ba 100644 --- a/compiler-rt/test/msan/Linux/cmsghdr.cc +++ b/compiler-rt/test/msan/Linux/cmsghdr.cc @@ -10,8 +10,6 @@ // 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 62e19b2..4399211 100644 --- a/compiler-rt/test/msan/Linux/eventfd.cc +++ b/compiler-rt/test/msan/Linux/eventfd.cc @@ -1,7 +1,5 @@ // 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 551e891..e5b8f93 100644 --- a/compiler-rt/test/msan/Linux/fopencookie.cc +++ b/compiler-rt/test/msan/Linux/fopencookie.cc @@ -2,8 +2,6 @@ // 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 7a80945..d371a49 100644 --- a/compiler-rt/test/msan/Linux/forkpty.cc +++ b/compiler-rt/test/msan/Linux/forkpty.cc @@ -1,7 +1,5 @@ // 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 06e1374..f3c0914 100644 --- a/compiler-rt/test/msan/Linux/getresid.cc +++ b/compiler-rt/test/msan/Linux/getresid.cc @@ -2,8 +2,6 @@ // 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 50096c0..1481861 100644 --- a/compiler-rt/test/msan/Linux/glob.cc +++ b/compiler-rt/test/msan/Linux/glob.cc @@ -2,8 +2,6 @@ // 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 d0cb4bc..cb7fe09 100644 --- a/compiler-rt/test/msan/Linux/glob_altdirfunc.cc +++ b/compiler-rt/test/msan/Linux/glob_altdirfunc.cc @@ -2,8 +2,6 @@ // 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 5845513..fa132c8 100644 --- a/compiler-rt/test/msan/Linux/glob_nomatch.cc +++ b/compiler-rt/test/msan/Linux/glob_nomatch.cc @@ -1,8 +1,6 @@ // 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 d7b38fa..fb36c52 100644 --- a/compiler-rt/test/msan/Linux/ioctl_sound.cc +++ b/compiler-rt/test/msan/Linux/ioctl_sound.cc @@ -1,8 +1,6 @@ // 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 577a193..545ae93 100644 --- a/compiler-rt/test/msan/Linux/mallinfo.cc +++ b/compiler-rt/test/msan/Linux/mallinfo.cc @@ -1,8 +1,6 @@ // 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 a229d4b..35f5713 100644 --- a/compiler-rt/test/msan/Linux/mincore.cc +++ b/compiler-rt/test/msan/Linux/mincore.cc @@ -1,7 +1,5 @@ // 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 f5b4fc3..a042912 100644 --- a/compiler-rt/test/msan/Linux/obstack.cc +++ b/compiler-rt/test/msan/Linux/obstack.cc @@ -1,8 +1,6 @@ // 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 4c7cafa..b61578d 100644 --- a/compiler-rt/test/msan/Linux/process_vm_readv.cc +++ b/compiler-rt/test/msan/Linux/process_vm_readv.cc @@ -1,8 +1,6 @@ // 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 e04559c..6a8ef83 100644 --- a/compiler-rt/test/msan/Linux/sendmsg.cc +++ b/compiler-rt/test/msan/Linux/sendmsg.cc @@ -15,8 +15,6 @@ // 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 8acb155..c92ad63 100644 --- a/compiler-rt/test/msan/Linux/sunrpc.cc +++ b/compiler-rt/test/msan/Linux/sunrpc.cc @@ -11,8 +11,6 @@ // 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 4d46d55..477637a 100644 --- a/compiler-rt/test/msan/Linux/sunrpc_bytes.cc +++ b/compiler-rt/test/msan/Linux/sunrpc_bytes.cc @@ -3,8 +3,6 @@ // 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 53bea26..350222f 100644 --- a/compiler-rt/test/msan/Linux/sunrpc_string.cc +++ b/compiler-rt/test/msan/Linux/sunrpc_string.cc @@ -3,8 +3,6 @@ // 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/syscalls.cc b/compiler-rt/test/msan/Linux/syscalls.cc index 1287486..c5ac3e2 100644 --- a/compiler-rt/test/msan/Linux/syscalls.cc +++ b/compiler-rt/test/msan/Linux/syscalls.cc @@ -1,8 +1,6 @@ // RUN: %clangxx_msan -O0 %s -o %t && %run %t 2>&1 // RUN: %clangxx_msan -O3 %s -o %t && %run %t 2>&1 -// XFAIL: target-is-mips64el - #include #include #include diff --git a/compiler-rt/test/msan/Linux/syscalls_sigaction.cc b/compiler-rt/test/msan/Linux/syscalls_sigaction.cc index 84e010e..1297fae 100644 --- a/compiler-rt/test/msan/Linux/syscalls_sigaction.cc +++ b/compiler-rt/test/msan/Linux/syscalls_sigaction.cc @@ -3,8 +3,6 @@ // RUN: %clangxx_msan -DPRE3 -O0 %s -o %t && not %run %t 2>&1 // RUN: %clangxx_msan -O0 %s -o %t && %run %t 2>&1 -// XFAIL: target-is-mips64el - #include #include #include diff --git a/compiler-rt/test/msan/Linux/tcgetattr.cc b/compiler-rt/test/msan/Linux/tcgetattr.cc index 7b6adbc..454b7fd 100644 --- a/compiler-rt/test/msan/Linux/tcgetattr.cc +++ b/compiler-rt/test/msan/Linux/tcgetattr.cc @@ -1,7 +1,5 @@ // RUN: %clangxx_msan -O0 %s -o %t && %run %t %p -// XFAIL: target-is-mips64el - #include #include #include diff --git a/compiler-rt/test/msan/Linux/xattr.cc b/compiler-rt/test/msan/Linux/xattr.cc index bead651..86cc2cd 100644 --- a/compiler-rt/test/msan/Linux/xattr.cc +++ b/compiler-rt/test/msan/Linux/xattr.cc @@ -2,8 +2,6 @@ // 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 #include diff --git a/compiler-rt/test/msan/allocator_returns_null.cc b/compiler-rt/test/msan/allocator_returns_null.cc index c47dc2e..f4ea51d 100644 --- a/compiler-rt/test/msan/allocator_returns_null.cc +++ b/compiler-rt/test/msan/allocator_returns_null.cc @@ -15,8 +15,6 @@ // RUN: MSAN_OPTIONS=allocator_may_return_null=0 not %run %t realloc-after-malloc 2>&1 | FileCheck %s --check-prefix=CHECK-mrCRASH // RUN: MSAN_OPTIONS=allocator_may_return_null=1 %run %t realloc-after-malloc 2>&1 | FileCheck %s --check-prefix=CHECK-mrNULL -// XFAIL: target-is-mips64el - #include #include #include diff --git a/compiler-rt/test/msan/backtrace.cc b/compiler-rt/test/msan/backtrace.cc index a4dd69b..9cb883c 100644 --- a/compiler-rt/test/msan/backtrace.cc +++ b/compiler-rt/test/msan/backtrace.cc @@ -1,7 +1,5 @@ // RUN: %clangxx_msan -O0 %s -o %t && %run %t -// XFAIL: target-is-mips64el - #include #include #include diff --git a/compiler-rt/test/msan/c-strdup.c b/compiler-rt/test/msan/c-strdup.c index 4a121cb..b1e02b9 100644 --- a/compiler-rt/test/msan/c-strdup.c +++ b/compiler-rt/test/msan/c-strdup.c @@ -3,8 +3,6 @@ // RUN: %clang_msan -O2 %s -o %t && %run %t >%t.out 2>&1 // RUN: %clang_msan -O3 %s -o %t && %run %t >%t.out 2>&1 -// XFAIL: target-is-mips64el - // Test that strdup in C programs is intercepted. // GLibC headers translate strdup to __strdup at -O1 and higher. diff --git a/compiler-rt/test/msan/chained_origin.cc b/compiler-rt/test/msan/chained_origin.cc index 9b30c74..0918f43 100644 --- a/compiler-rt/test/msan/chained_origin.cc +++ b/compiler-rt/test/msan/chained_origin.cc @@ -15,8 +15,6 @@ // RUN: not %run %t >%t.out 2>&1 // RUN: FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-HEAP < %t.out -// XFAIL: target-is-mips64el - #include volatile int x, y; diff --git a/compiler-rt/test/msan/chained_origin_empty_stack.cc b/compiler-rt/test/msan/chained_origin_empty_stack.cc index 0a5a9c3..f1ed66b 100644 --- a/compiler-rt/test/msan/chained_origin_empty_stack.cc +++ b/compiler-rt/test/msan/chained_origin_empty_stack.cc @@ -1,8 +1,6 @@ // RUN: %clangxx_msan -fsanitize-memory-track-origins=2 -O3 %s -o %t && \ // RUN: MSAN_OPTIONS=store_context_size=1 not %run %t 2>&1 | FileCheck %s -// XFAIL: target-is-mips64el - // Test that stack trace for the intermediate store is not empty. // CHECK: MemorySanitizer: use-of-uninitialized-value diff --git a/compiler-rt/test/msan/chained_origin_limits.cc b/compiler-rt/test/msan/chained_origin_limits.cc index 0f97c11..90fd09a 100644 --- a/compiler-rt/test/msan/chained_origin_limits.cc +++ b/compiler-rt/test/msan/chained_origin_limits.cc @@ -62,8 +62,6 @@ // RUN: MSAN_OPTIONS=origin_history_size=7,origin_history_per_stack_limit=0 not %run %t >%t.out 2>&1 // RUN: FileCheck %s --check-prefix=CHECK7 < %t.out -// XFAIL: target-is-mips64el - #include #include #include diff --git a/compiler-rt/test/msan/chained_origin_memcpy.cc b/compiler-rt/test/msan/chained_origin_memcpy.cc index 07474fb..afb4cec 100644 --- a/compiler-rt/test/msan/chained_origin_memcpy.cc +++ b/compiler-rt/test/msan/chained_origin_memcpy.cc @@ -15,8 +15,6 @@ // RUN: not %run %t >%t.out 2>&1 // RUN: FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-Z2 < %t.out -// XFAIL: target-is-mips64el - #include #include diff --git a/compiler-rt/test/msan/chained_origin_with_signals.cc b/compiler-rt/test/msan/chained_origin_with_signals.cc index e371982..43dbdcc 100644 --- a/compiler-rt/test/msan/chained_origin_with_signals.cc +++ b/compiler-rt/test/msan/chained_origin_with_signals.cc @@ -10,8 +10,6 @@ // RUN: not %run %t >%t.out 2>&1 // RUN: FileCheck %s < %t.out -// XFAIL: target-is-mips64el - #include #include #include diff --git a/compiler-rt/test/msan/check_mem_is_initialized.cc b/compiler-rt/test/msan/check_mem_is_initialized.cc index 461ce19..e1d3b11 100644 --- a/compiler-rt/test/msan/check_mem_is_initialized.cc +++ b/compiler-rt/test/msan/check_mem_is_initialized.cc @@ -16,8 +16,6 @@ // RUN: %clangxx_msan -fsanitize-memory-track-origins -O3 %s -o %t && not %run %t >%t.out 2>&1 // RUN: FileCheck %s < %t.out && FileCheck %s --check-prefix=CHECK-ORIGINS < %t.out -// XFAIL: target-is-mips64el - #include #include diff --git a/compiler-rt/test/msan/coverage-levels.cc b/compiler-rt/test/msan/coverage-levels.cc index 43b03e3d..b881cec 100644 --- a/compiler-rt/test/msan/coverage-levels.cc +++ b/compiler-rt/test/msan/coverage-levels.cc @@ -10,8 +10,6 @@ // RUN: %clangxx_msan -O1 -fsanitize-coverage=edge %s -o %t // RUN: MSAN_OPTIONS=coverage=1:verbosity=1:coverage_dir=%T/coverage-levels not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK3 --check-prefix=CHECK_WARN -// XFAIL: target-is-mips64el - volatile int sink; int main(int argc, char **argv) { int var; diff --git a/compiler-rt/test/msan/ctermid.cc b/compiler-rt/test/msan/ctermid.cc index e91ea71..a2818e6 100644 --- a/compiler-rt/test/msan/ctermid.cc +++ b/compiler-rt/test/msan/ctermid.cc @@ -1,7 +1,5 @@ // 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/cxa_atexit.cc b/compiler-rt/test/msan/cxa_atexit.cc index 8210436..70384b9 100644 --- a/compiler-rt/test/msan/cxa_atexit.cc +++ b/compiler-rt/test/msan/cxa_atexit.cc @@ -1,7 +1,5 @@ // RUN: %clangxx_msan -O0 %s -o %t && %run %t %p -// XFAIL: target-is-mips64el - // PR17377: C++ module destructors get stale argument shadow. #include diff --git a/compiler-rt/test/msan/death-callback.cc b/compiler-rt/test/msan/death-callback.cc index 9aeac5b..08cf291 100644 --- a/compiler-rt/test/msan/death-callback.cc +++ b/compiler-rt/test/msan/death-callback.cc @@ -7,8 +7,6 @@ // RUN: %clangxx_msan -DMSANCB_SET %s -o %t && %run %t 2>&1 | \ // RUN: FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NOCB -// XFAIL: target-is-mips64el - #include #include #include diff --git a/compiler-rt/test/msan/dlerror.cc b/compiler-rt/test/msan/dlerror.cc index d0335d9..d5510b6 100644 --- a/compiler-rt/test/msan/dlerror.cc +++ b/compiler-rt/test/msan/dlerror.cc @@ -1,7 +1,5 @@ // RUN: %clangxx_msan -O0 %s -o %t && %run %t -// XFAIL: target-is-mips64el - #include #include #include