[mips][msan] Fix all the XPASSes following r278793 and r278795
authorDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 18 Aug 2016 10:50:46 +0000 (10:50 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 18 Aug 2016 10:50:46 +0000 (10:50 +0000)
All msan tests are now passing for mipsel and mips64el except for
allocator_mapping.cc which is marked unsupported.

llvm-svn: 279048

35 files changed:
compiler-rt/test/msan/Linux/cmsghdr.cc
compiler-rt/test/msan/Linux/eventfd.cc
compiler-rt/test/msan/Linux/fopencookie.cc
compiler-rt/test/msan/Linux/forkpty.cc
compiler-rt/test/msan/Linux/getresid.cc
compiler-rt/test/msan/Linux/glob.cc
compiler-rt/test/msan/Linux/glob_altdirfunc.cc
compiler-rt/test/msan/Linux/glob_nomatch.cc
compiler-rt/test/msan/Linux/ioctl_sound.cc
compiler-rt/test/msan/Linux/mallinfo.cc
compiler-rt/test/msan/Linux/mincore.cc
compiler-rt/test/msan/Linux/obstack.cc
compiler-rt/test/msan/Linux/process_vm_readv.cc
compiler-rt/test/msan/Linux/sendmsg.cc
compiler-rt/test/msan/Linux/sunrpc.cc
compiler-rt/test/msan/Linux/sunrpc_bytes.cc
compiler-rt/test/msan/Linux/sunrpc_string.cc
compiler-rt/test/msan/Linux/syscalls.cc
compiler-rt/test/msan/Linux/syscalls_sigaction.cc
compiler-rt/test/msan/Linux/tcgetattr.cc
compiler-rt/test/msan/Linux/xattr.cc
compiler-rt/test/msan/allocator_returns_null.cc
compiler-rt/test/msan/backtrace.cc
compiler-rt/test/msan/c-strdup.c
compiler-rt/test/msan/chained_origin.cc
compiler-rt/test/msan/chained_origin_empty_stack.cc
compiler-rt/test/msan/chained_origin_limits.cc
compiler-rt/test/msan/chained_origin_memcpy.cc
compiler-rt/test/msan/chained_origin_with_signals.cc
compiler-rt/test/msan/check_mem_is_initialized.cc
compiler-rt/test/msan/coverage-levels.cc
compiler-rt/test/msan/ctermid.cc
compiler-rt/test/msan/cxa_atexit.cc
compiler-rt/test/msan/death-callback.cc
compiler-rt/test/msan/dlerror.cc

index d18415a..daed1ba 100644 (file)
@@ -10,8 +10,6 @@
 
 // UNSUPPORTED: android
 
-// XFAIL: target-is-mips64el
-
 #include <assert.h>
 #include <stdio.h>
 #include <unistd.h>
index 62e19b2..4399211 100644 (file)
@@ -1,7 +1,5 @@
 // RUN: %clangxx_msan -O0 %s -o %t && %run %t 2>&1
 
-// XFAIL: target-is-mips64el
-
 #include <assert.h>
 #include <sys/eventfd.h>
 
index 551e891..e5b8f93 100644 (file)
@@ -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 <assert.h>
 #include <pthread.h>
 #include <stdint.h>
index 7a80945..d371a49 100644 (file)
@@ -1,7 +1,5 @@
 // RUN: %clangxx_msan -O0 -g %s -lutil -o %t && %run %t
 
-// XFAIL: target-is-mips64el
-
 #include <assert.h>
 #include <pty.h>
 
index 06e1374..f3c0914 100644 (file)
@@ -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 <assert.h>
 #include <unistd.h>
 
index 50096c0..1481861 100644 (file)
@@ -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 <assert.h>
 #include <glob.h>
 #include <stdio.h>
index d0cb4bc..cb7fe09 100644 (file)
@@ -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 <assert.h>
 #include <glob.h>
 #include <stdio.h>
index 5845513..fa132c8 100644 (file)
@@ -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 <assert.h>
 #include <glob.h>
 #include <stdio.h>
index d7b38fa..fb36c52 100644 (file)
@@ -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 <assert.h>
 #include <fcntl.h>
 #include <sound/asound.h>
index 577a193..545ae93 100644 (file)
@@ -1,8 +1,6 @@
 // RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
 // REQUIRES: stable-runtime
 
-// XFAIL: target-is-mips64el
-
 #include <assert.h>
 #include <malloc.h>
 
index a229d4b..35f5713 100644 (file)
@@ -1,7 +1,5 @@
 // RUN: %clangxx_msan -std=c++11 -O0 %s -o %t && %run %t
 
-// XFAIL: target-is-mips64el
-
 #include <assert.h>
 #include <unistd.h>
 #include <sys/mman.h>
index f5b4fc3..a042912 100644 (file)
@@ -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 <obstack.h>
 #include <sanitizer/msan_interface.h>
 #include <stdlib.h>
index 4c7cafa..b61578d 100644 (file)
@@ -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 <assert.h>
 #include <dlfcn.h>
 #include <sanitizer/msan_interface.h>
index e04559c..6a8ef83 100644 (file)
@@ -15,8 +15,6 @@
 
 // UNSUPPORTED: android
 
-// XFAIL: target-is-mips64el
-
 #include <assert.h>
 #include <stdio.h>
 #include <unistd.h>
index 8acb155..c92ad63 100644 (file)
@@ -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 <assert.h>
 #include <rpc/xdr.h>
 
index 4d46d55..477637a 100644 (file)
@@ -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 <assert.h>
 #include <string.h>
 #include <rpc/xdr.h>
index 53bea26..350222f 100644 (file)
@@ -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 <assert.h>
 #include <string.h>
 #include <rpc/xdr.h>
index 1287486..c5ac3e2 100644 (file)
@@ -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 <assert.h>
 #include <errno.h>
 #include <glob.h>
index 84e010e..1297fae 100644 (file)
@@ -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 <assert.h>
 #include <signal.h>
 #include <string.h>
index 7b6adbc..454b7fd 100644 (file)
@@ -1,7 +1,5 @@
 // RUN: %clangxx_msan -O0 %s -o %t && %run %t %p
 
-// XFAIL: target-is-mips64el                                                      
-
 #include <assert.h>
 #include <glob.h>
 #include <stdio.h>
index bead651..86cc2cd 100644 (file)
@@ -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 <argz.h>
 #include <assert.h>
 #include <sys/types.h>
index c47dc2e..f4ea51d 100644 (file)
@@ -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 <limits.h>
 #include <stdlib.h>
 #include <string.h>
index a4dd69b..9cb883c 100644 (file)
@@ -1,7 +1,5 @@
 // RUN: %clangxx_msan -O0 %s -o %t && %run %t
 
-// XFAIL: target-is-mips64el
-
 #include <assert.h>
 #include <execinfo.h>
 #include <stdio.h>
index 4a121cb..b1e02b9 100644 (file)
@@ -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.
 
index 9b30c74..0918f43 100644 (file)
@@ -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 <stdio.h>
 
 volatile int x, y;
index 0a5a9c3..f1ed66b 100644 (file)
@@ -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
index 0f97c11..90fd09a 100644 (file)
@@ -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 <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 07474fb..afb4cec 100644 (file)
@@ -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 <stdio.h>
 #include <string.h>
 
index e371982..43dbdcc 100644 (file)
@@ -10,8 +10,6 @@
 // RUN:     not %run %t >%t.out 2>&1
 // RUN: FileCheck %s < %t.out
 
-// XFAIL: target-is-mips64el
-
 #include <signal.h>
 #include <stdio.h>
 #include <sys/types.h>
index 461ce19..e1d3b11 100644 (file)
@@ -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 <sanitizer/msan_interface.h>
 #include <stdlib.h>
 
index 43b03e3..b881cec 100644 (file)
@@ -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;
index e91ea71..a2818e6 100644 (file)
@@ -1,7 +1,5 @@
 // RUN: %clangxx_msan -std=c++11 -O0 %s -o %t && %run %t
 
-// XFAIL: target-is-mips64el
-
 #include <sanitizer/msan_interface.h>
 #include <stdio.h>
 #include <string.h>
index 8210436..70384b9 100644 (file)
@@ -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 <stdio.h>
index 9aeac5b..08cf291 100644 (file)
@@ -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 <sanitizer/msan_interface.h>
 #include <stdio.h>
 #include <stdlib.h>
index d0335d9..d5510b6 100644 (file)
@@ -1,7 +1,5 @@
 // RUN: %clangxx_msan -O0 %s -o %t && %run %t
 
-// XFAIL: target-is-mips64el
-
 #include <assert.h>
 #include <dlfcn.h>
 #include <stdio.h>