[compiler-rt] r328849 - [ASan] Disable new ASan error reporting tests on various ARMs.

Alex Shlyapnikov via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 29 17:03:36 PDT 2018


Author: alekseyshl
Date: Thu Mar 29 17:03:36 2018
New Revision: 328849

URL: http://llvm.org/viewvc/llvm-project?rev=328849&view=rev
Log:
[ASan] Disable new ASan error reporting tests on various ARMs.

As many other ASan tests already, has to disable these failing tests on
arm, armhf and aarch64 configs.

Differential Revision: https://reviews.llvm.org/D44404

Modified:
    compiler-rt/trunk/test/asan/TestCases/Linux/aligned_alloc-alignment.cc
    compiler-rt/trunk/test/asan/TestCases/Linux/pvalloc-overflow.cc
    compiler-rt/trunk/test/asan/TestCases/Posix/posix_memalign-alignment.cc
    compiler-rt/trunk/test/asan/TestCases/calloc-overflow.cc
    compiler-rt/trunk/test/asan/TestCases/malloc-size-too-big.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/aligned_alloc-alignment.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/aligned_alloc-alignment.cc?rev=328849&r1=328848&r2=328849&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/aligned_alloc-alignment.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/aligned_alloc-alignment.cc Thu Mar 29 17:03:36 2018
@@ -5,6 +5,8 @@
 // FIXME(alekseyshl): #0 frame does not look as expected on ppc64be, fix it.
 // UNSUPPORTED: android,powerpc64
 
+// REQUIRES: stable-runtime
+
 #include <stdio.h>
 #include <stdlib.h>
 

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/pvalloc-overflow.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/pvalloc-overflow.cc?rev=328849&r1=328848&r2=328849&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/pvalloc-overflow.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/pvalloc-overflow.cc Thu Mar 29 17:03:36 2018
@@ -6,6 +6,8 @@
 
 // UNSUPPORTED: freebsd, android
 
+// REQUIRES: stable-runtime
+
 // Checks that pvalloc overflows are caught. If the allocator is allowed to
 // return null, the errno should be set to ENOMEM.
 

Modified: compiler-rt/trunk/test/asan/TestCases/Posix/posix_memalign-alignment.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/posix_memalign-alignment.cc?rev=328849&r1=328848&r2=328849&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/posix_memalign-alignment.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/posix_memalign-alignment.cc Thu Mar 29 17:03:36 2018
@@ -2,6 +2,8 @@
 // RUN: %env_asan_opts=allocator_may_return_null=0 not %run %t 2>&1 | FileCheck %s
 // RUN: %env_asan_opts=allocator_may_return_null=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NULL
 
+// REQUIRES: stable-runtime
+
 #include <stdio.h>
 #include <stdlib.h>
 

Modified: compiler-rt/trunk/test/asan/TestCases/calloc-overflow.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/calloc-overflow.cc?rev=328849&r1=328848&r2=328849&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/calloc-overflow.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/calloc-overflow.cc Thu Mar 29 17:03:36 2018
@@ -2,6 +2,8 @@
 // RUN: %env_asan_opts=allocator_may_return_null=0 not %run %t 2>&1 | FileCheck %s
 // RUN: %env_asan_opts=allocator_may_return_null=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NULL
 
+// REQUIRES: stable-runtime
+
 #include <stdio.h>
 #include <stdlib.h>
 

Modified: compiler-rt/trunk/test/asan/TestCases/malloc-size-too-big.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/malloc-size-too-big.cc?rev=328849&r1=328848&r2=328849&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/malloc-size-too-big.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/malloc-size-too-big.cc Thu Mar 29 17:03:36 2018
@@ -2,6 +2,8 @@
 // RUN: %env_asan_opts=allocator_may_return_null=0 not %run %t 2>&1 | FileCheck %s
 // RUN: %env_asan_opts=allocator_may_return_null=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NULL
 
+// REQUIRES: stable-runtime
+
 #include <stdio.h>
 #include <stdlib.h>
 




More information about the llvm-commits mailing list