diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2018-03-30 00:03:36 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2018-03-30 00:03:36 +0000 |
commit | 0ee5a5577c3845a777fbcbad9a8a47b57d50b115 (patch) | |
tree | 13b268684b83703e5b21b329846a330f5df22674 | |
parent | 4b4d85fd4d843b94c7aeb99ba45c3c1d40b5cf5e (diff) | |
download | bcm5719-llvm-0ee5a5577c3845a777fbcbad9a8a47b57d50b115.tar.gz bcm5719-llvm-0ee5a5577c3845a777fbcbad9a8a47b57d50b115.zip |
[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
llvm-svn: 328849
5 files changed, 10 insertions, 0 deletions
diff --git a/compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc b/compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc index e24d2f604cc..44d9de8c791 100644 --- a/compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc +++ b/compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc @@ -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> diff --git a/compiler-rt/test/asan/TestCases/Linux/pvalloc-overflow.cc b/compiler-rt/test/asan/TestCases/Linux/pvalloc-overflow.cc index 1d40811fc87..52c583b3b94 100644 --- a/compiler-rt/test/asan/TestCases/Linux/pvalloc-overflow.cc +++ b/compiler-rt/test/asan/TestCases/Linux/pvalloc-overflow.cc @@ -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. diff --git a/compiler-rt/test/asan/TestCases/Posix/posix_memalign-alignment.cc b/compiler-rt/test/asan/TestCases/Posix/posix_memalign-alignment.cc index 208772d9fbc..1391292d23c 100644 --- a/compiler-rt/test/asan/TestCases/Posix/posix_memalign-alignment.cc +++ b/compiler-rt/test/asan/TestCases/Posix/posix_memalign-alignment.cc @@ -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> diff --git a/compiler-rt/test/asan/TestCases/calloc-overflow.cc b/compiler-rt/test/asan/TestCases/calloc-overflow.cc index 65278101c8d..74582378fd2 100644 --- a/compiler-rt/test/asan/TestCases/calloc-overflow.cc +++ b/compiler-rt/test/asan/TestCases/calloc-overflow.cc @@ -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> diff --git a/compiler-rt/test/asan/TestCases/malloc-size-too-big.cc b/compiler-rt/test/asan/TestCases/malloc-size-too-big.cc index f48d8a7f8ff..f41b7ef75d7 100644 --- a/compiler-rt/test/asan/TestCases/malloc-size-too-big.cc +++ b/compiler-rt/test/asan/TestCases/malloc-size-too-big.cc @@ -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> |