[compiler-rt] r278671 - [mips] XFAIL mips64el tests that fail on clang-cmake-mipsel

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 15 08:14:08 PDT 2016


Author: dsanders
Date: Mon Aug 15 10:14:08 2016
New Revision: 278671

URL: http://llvm.org/viewvc/llvm-project?rev=278671&view=rev
Log:
[mips] XFAIL mips64el tests that fail on clang-cmake-mipsel

These tests were recently enabled and have never worked on this builder.

Three tests were sensitive to line number changes:
  test/msan/Linux/obstack.cc
  test/msan/chained_origin.cc
  test/msan/chained_origin_memcpy.cc
and this sensitivity will be addressed in a follow-up patch. Of these,
obstack.cc's sensitivity to line numbers is unexplained since it already uses
[[@LINE]].


Modified:
    compiler-rt/trunk/test/msan/Linux/obstack.cc
    compiler-rt/trunk/test/msan/Linux/syscalls.cc
    compiler-rt/trunk/test/msan/Linux/syscalls_sigaction.cc
    compiler-rt/trunk/test/msan/Linux/tcgetattr.cc
    compiler-rt/trunk/test/msan/Linux/xattr.cc
    compiler-rt/trunk/test/msan/allocator_mapping.cc
    compiler-rt/trunk/test/msan/allocator_returns_null.cc
    compiler-rt/trunk/test/msan/backtrace.cc
    compiler-rt/trunk/test/msan/c-strdup.c
    compiler-rt/trunk/test/msan/chained_origin.cc
    compiler-rt/trunk/test/msan/chained_origin_empty_stack.cc
    compiler-rt/trunk/test/msan/chained_origin_limits.cc
    compiler-rt/trunk/test/msan/chained_origin_memcpy.cc
    compiler-rt/trunk/test/msan/chained_origin_with_signals.cc
    compiler-rt/trunk/test/msan/check_mem_is_initialized.cc
    compiler-rt/trunk/test/msan/coverage-levels.cc
    compiler-rt/trunk/test/msan/ctermid.cc
    compiler-rt/trunk/test/msan/cxa_atexit.cc
    compiler-rt/trunk/test/msan/death-callback.cc
    compiler-rt/trunk/test/msan/dlerror.cc

Modified: compiler-rt/trunk/test/msan/Linux/obstack.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/Linux/obstack.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/Linux/obstack.cc (original)
+++ compiler-rt/trunk/test/msan/Linux/obstack.cc Mon Aug 15 10:14:08 2016
@@ -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>

Modified: compiler-rt/trunk/test/msan/Linux/syscalls.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/Linux/syscalls.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/Linux/syscalls.cc (original)
+++ compiler-rt/trunk/test/msan/Linux/syscalls.cc Mon Aug 15 10:14:08 2016
@@ -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>

Modified: compiler-rt/trunk/test/msan/Linux/syscalls_sigaction.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/Linux/syscalls_sigaction.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/Linux/syscalls_sigaction.cc (original)
+++ compiler-rt/trunk/test/msan/Linux/syscalls_sigaction.cc Mon Aug 15 10:14:08 2016
@@ -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>

Modified: compiler-rt/trunk/test/msan/Linux/tcgetattr.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/Linux/tcgetattr.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/Linux/tcgetattr.cc (original)
+++ compiler-rt/trunk/test/msan/Linux/tcgetattr.cc Mon Aug 15 10:14:08 2016
@@ -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>

Modified: compiler-rt/trunk/test/msan/Linux/xattr.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/Linux/xattr.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/Linux/xattr.cc (original)
+++ compiler-rt/trunk/test/msan/Linux/xattr.cc Mon Aug 15 10:14:08 2016
@@ -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>

Modified: compiler-rt/trunk/test/msan/allocator_mapping.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/allocator_mapping.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/allocator_mapping.cc (original)
+++ compiler-rt/trunk/test/msan/allocator_mapping.cc Mon Aug 15 10:14:08 2016
@@ -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>

Modified: compiler-rt/trunk/test/msan/allocator_returns_null.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/allocator_returns_null.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/allocator_returns_null.cc (original)
+++ compiler-rt/trunk/test/msan/allocator_returns_null.cc Mon Aug 15 10:14:08 2016
@@ -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>

Modified: compiler-rt/trunk/test/msan/backtrace.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/backtrace.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/backtrace.cc (original)
+++ compiler-rt/trunk/test/msan/backtrace.cc Mon Aug 15 10:14:08 2016
@@ -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>

Modified: compiler-rt/trunk/test/msan/c-strdup.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/c-strdup.c?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/c-strdup.c (original)
+++ compiler-rt/trunk/test/msan/c-strdup.c Mon Aug 15 10:14:08 2016
@@ -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.
 

Modified: compiler-rt/trunk/test/msan/chained_origin.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/chained_origin.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/chained_origin.cc (original)
+++ compiler-rt/trunk/test/msan/chained_origin.cc Mon Aug 15 10:14:08 2016
@@ -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>
 

Modified: compiler-rt/trunk/test/msan/chained_origin_empty_stack.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/chained_origin_empty_stack.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/chained_origin_empty_stack.cc (original)
+++ compiler-rt/trunk/test/msan/chained_origin_empty_stack.cc Mon Aug 15 10:14:08 2016
@@ -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

Modified: compiler-rt/trunk/test/msan/chained_origin_limits.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/chained_origin_limits.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/chained_origin_limits.cc (original)
+++ compiler-rt/trunk/test/msan/chained_origin_limits.cc Mon Aug 15 10:14:08 2016
@@ -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>

Modified: compiler-rt/trunk/test/msan/chained_origin_memcpy.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/chained_origin_memcpy.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/chained_origin_memcpy.cc (original)
+++ compiler-rt/trunk/test/msan/chained_origin_memcpy.cc Mon Aug 15 10:14:08 2016
@@ -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>

Modified: compiler-rt/trunk/test/msan/chained_origin_with_signals.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/chained_origin_with_signals.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/chained_origin_with_signals.cc (original)
+++ compiler-rt/trunk/test/msan/chained_origin_with_signals.cc Mon Aug 15 10:14:08 2016
@@ -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>

Modified: compiler-rt/trunk/test/msan/check_mem_is_initialized.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/check_mem_is_initialized.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/check_mem_is_initialized.cc (original)
+++ compiler-rt/trunk/test/msan/check_mem_is_initialized.cc Mon Aug 15 10:14:08 2016
@@ -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>
 

Modified: compiler-rt/trunk/test/msan/coverage-levels.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/coverage-levels.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/coverage-levels.cc (original)
+++ compiler-rt/trunk/test/msan/coverage-levels.cc Mon Aug 15 10:14:08 2016
@@ -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;

Modified: compiler-rt/trunk/test/msan/ctermid.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/ctermid.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/ctermid.cc (original)
+++ compiler-rt/trunk/test/msan/ctermid.cc Mon Aug 15 10:14:08 2016
@@ -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>

Modified: compiler-rt/trunk/test/msan/cxa_atexit.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/cxa_atexit.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/cxa_atexit.cc (original)
+++ compiler-rt/trunk/test/msan/cxa_atexit.cc Mon Aug 15 10:14:08 2016
@@ -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>

Modified: compiler-rt/trunk/test/msan/death-callback.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/death-callback.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/death-callback.cc (original)
+++ compiler-rt/trunk/test/msan/death-callback.cc Mon Aug 15 10:14:08 2016
@@ -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>

Modified: compiler-rt/trunk/test/msan/dlerror.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/dlerror.cc?rev=278671&r1=278670&r2=278671&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/dlerror.cc (original)
+++ compiler-rt/trunk/test/msan/dlerror.cc Mon Aug 15 10:14:08 2016
@@ -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>




More information about the llvm-commits mailing list