diff options
20 files changed, 37 insertions, 5 deletions
diff --git a/compiler-rt/test/msan/Linux/obstack.cc b/compiler-rt/test/msan/Linux/obstack.cc index f1f53be4c9b..598b85d5eaa 100644 --- a/compiler-rt/test/msan/Linux/obstack.cc +++ b/compiler-rt/test/msan/Linux/obstack.cc @@ -1,6 +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> diff --git a/compiler-rt/test/msan/Linux/syscalls.cc b/compiler-rt/test/msan/Linux/syscalls.cc index c5ac3e27fa1..1287486021d 100644 --- a/compiler-rt/test/msan/Linux/syscalls.cc +++ b/compiler-rt/test/msan/Linux/syscalls.cc @@ -1,6 +1,8 @@ // 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> diff --git a/compiler-rt/test/msan/Linux/syscalls_sigaction.cc b/compiler-rt/test/msan/Linux/syscalls_sigaction.cc index 1297fae13d1..84e010e5b20 100644 --- a/compiler-rt/test/msan/Linux/syscalls_sigaction.cc +++ b/compiler-rt/test/msan/Linux/syscalls_sigaction.cc @@ -3,6 +3,8 @@ // 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> diff --git a/compiler-rt/test/msan/Linux/tcgetattr.cc b/compiler-rt/test/msan/Linux/tcgetattr.cc index 454b7fd1537..7b6adbc7c04 100644 --- a/compiler-rt/test/msan/Linux/tcgetattr.cc +++ b/compiler-rt/test/msan/Linux/tcgetattr.cc @@ -1,5 +1,7 @@ // RUN: %clangxx_msan -O0 %s -o %t && %run %t %p +// XFAIL: target-is-mips64el + #include <assert.h> #include <glob.h> #include <stdio.h> diff --git a/compiler-rt/test/msan/Linux/xattr.cc b/compiler-rt/test/msan/Linux/xattr.cc index 86cc2cd474d..bead65164f9 100644 --- a/compiler-rt/test/msan/Linux/xattr.cc +++ b/compiler-rt/test/msan/Linux/xattr.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 <argz.h> #include <assert.h> #include <sys/types.h> diff --git a/compiler-rt/test/msan/allocator_mapping.cc b/compiler-rt/test/msan/allocator_mapping.cc index f47d9a63e09..533128f9a0f 100644 --- a/compiler-rt/test/msan/allocator_mapping.cc +++ b/compiler-rt/test/msan/allocator_mapping.cc @@ -8,7 +8,7 @@ // This test only makes sense for the 64-bit allocator. The 32-bit allocator // does not have a fixed mapping. Exclude platforms that use the 32-bit // allocator. -// UNSUPPORTED: mips64,aarch64 +// UNSUPPORTED: target-is-mips64,target-is-mips64el,aarch64 #include <assert.h> #include <stdio.h> diff --git a/compiler-rt/test/msan/allocator_returns_null.cc b/compiler-rt/test/msan/allocator_returns_null.cc index f4ea51d5887..c47dc2e36ef 100644 --- a/compiler-rt/test/msan/allocator_returns_null.cc +++ b/compiler-rt/test/msan/allocator_returns_null.cc @@ -15,6 +15,8 @@ // 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> diff --git a/compiler-rt/test/msan/backtrace.cc b/compiler-rt/test/msan/backtrace.cc index 9cb883c5cf7..a4dd69b9dda 100644 --- a/compiler-rt/test/msan/backtrace.cc +++ b/compiler-rt/test/msan/backtrace.cc @@ -1,5 +1,7 @@ // RUN: %clangxx_msan -O0 %s -o %t && %run %t +// XFAIL: target-is-mips64el + #include <assert.h> #include <execinfo.h> #include <stdio.h> diff --git a/compiler-rt/test/msan/c-strdup.c b/compiler-rt/test/msan/c-strdup.c index b1e02b914fc..4a121cb28be 100644 --- a/compiler-rt/test/msan/c-strdup.c +++ b/compiler-rt/test/msan/c-strdup.c @@ -3,6 +3,8 @@ // 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 ae72c10b6ac..4c343d133a9 100644 --- a/compiler-rt/test/msan/chained_origin.cc +++ b/compiler-rt/test/msan/chained_origin.cc @@ -14,7 +14,7 @@ // RUN: %clangxx_msan -mllvm -msan-instrumentation-with-call-threshold=0 -fsanitize-memory-track-origins=2 -DHEAP=1 -O3 %s -o %t && \ // 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> diff --git a/compiler-rt/test/msan/chained_origin_empty_stack.cc b/compiler-rt/test/msan/chained_origin_empty_stack.cc index f1ed66b75e4..0a5a9c3bf05 100644 --- a/compiler-rt/test/msan/chained_origin_empty_stack.cc +++ b/compiler-rt/test/msan/chained_origin_empty_stack.cc @@ -1,6 +1,8 @@ // 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 90fd09a86b2..0f97c119545 100644 --- a/compiler-rt/test/msan/chained_origin_limits.cc +++ b/compiler-rt/test/msan/chained_origin_limits.cc @@ -62,6 +62,8 @@ // 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> diff --git a/compiler-rt/test/msan/chained_origin_memcpy.cc b/compiler-rt/test/msan/chained_origin_memcpy.cc index 3fe0b77a061..e21ed1f665a 100644 --- a/compiler-rt/test/msan/chained_origin_memcpy.cc +++ b/compiler-rt/test/msan/chained_origin_memcpy.cc @@ -14,7 +14,7 @@ // RUN: %clangxx_msan -mllvm -msan-instrumentation-with-call-threshold=0 -fsanitize-memory-track-origins=2 -DOFFSET=10 -O3 %s -o %t && \ // 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> diff --git a/compiler-rt/test/msan/chained_origin_with_signals.cc b/compiler-rt/test/msan/chained_origin_with_signals.cc index 43dbdcca76a..e3719825a5f 100644 --- a/compiler-rt/test/msan/chained_origin_with_signals.cc +++ b/compiler-rt/test/msan/chained_origin_with_signals.cc @@ -10,6 +10,8 @@ // 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> diff --git a/compiler-rt/test/msan/check_mem_is_initialized.cc b/compiler-rt/test/msan/check_mem_is_initialized.cc index e1d3b117e42..461ce19746c 100644 --- a/compiler-rt/test/msan/check_mem_is_initialized.cc +++ b/compiler-rt/test/msan/check_mem_is_initialized.cc @@ -16,6 +16,8 @@ // 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> diff --git a/compiler-rt/test/msan/coverage-levels.cc b/compiler-rt/test/msan/coverage-levels.cc index 710a69aff53..43b03e3d98d 100644 --- a/compiler-rt/test/msan/coverage-levels.cc +++ b/compiler-rt/test/msan/coverage-levels.cc @@ -9,7 +9,9 @@ // RUN: MSAN_OPTIONS=coverage=1:verbosity=1:coverage_dir=%T/coverage-levels not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK2 --check-prefix=CHECK_WARN // 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 a2818e63068..e91ea71a40b 100644 --- a/compiler-rt/test/msan/ctermid.cc +++ b/compiler-rt/test/msan/ctermid.cc @@ -1,5 +1,7 @@ // 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> diff --git a/compiler-rt/test/msan/cxa_atexit.cc b/compiler-rt/test/msan/cxa_atexit.cc index 70384b9c93f..8210436a4e1 100644 --- a/compiler-rt/test/msan/cxa_atexit.cc +++ b/compiler-rt/test/msan/cxa_atexit.cc @@ -1,5 +1,7 @@ // 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> diff --git a/compiler-rt/test/msan/death-callback.cc b/compiler-rt/test/msan/death-callback.cc index 08cf2911b0f..9aeac5b8704 100644 --- a/compiler-rt/test/msan/death-callback.cc +++ b/compiler-rt/test/msan/death-callback.cc @@ -7,6 +7,8 @@ // 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> diff --git a/compiler-rt/test/msan/dlerror.cc b/compiler-rt/test/msan/dlerror.cc index d5510b65c4a..d0335d9dd5c 100644 --- a/compiler-rt/test/msan/dlerror.cc +++ b/compiler-rt/test/msan/dlerror.cc @@ -1,5 +1,7 @@ // RUN: %clangxx_msan -O0 %s -o %t && %run %t +// XFAIL: target-is-mips64el + #include <assert.h> #include <dlfcn.h> #include <stdio.h> |

