From 1316a0e0e0bbf1f34d4a7ff7d57056b671673071 Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Thu, 29 May 2014 23:34:47 +0000 Subject: [PATCH] Mark currently failing ARM tests with XFAIL. Differential Revision: http://reviews.llvm.org/D3857 llvm-svn: 209862 --- compiler-rt/test/asan/TestCases/Linux/clone_test.cc | 1 + compiler-rt/test/asan/TestCases/Linux/glob.cc | 1 + compiler-rt/test/asan/TestCases/Linux/heavy_uar_test.cc | 1 + compiler-rt/test/asan/TestCases/Linux/malloc_delete_mismatch.cc | 1 + compiler-rt/test/asan/TestCases/Linux/ptrace.cc | 1 + compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cc | 1 + compiler-rt/test/asan/TestCases/Posix/asan-symbolize-sanity-test.cc | 1 + compiler-rt/test/asan/TestCases/Posix/shared-lib-test.cc | 1 + compiler-rt/test/asan/TestCases/Posix/start-deactivated.cc | 1 + compiler-rt/test/asan/TestCases/deep_stack_uaf.cc | 1 + compiler-rt/test/asan/TestCases/double-free.cc | 1 + compiler-rt/test/asan/TestCases/gc-test.cc | 1 + compiler-rt/test/asan/TestCases/invalid-free.cc | 1 + compiler-rt/test/asan/TestCases/large_func_test.cc | 1 + compiler-rt/test/asan/TestCases/mmap_limit_mb.cc | 1 + compiler-rt/test/asan/TestCases/sanity_check_pure_c.c | 1 + compiler-rt/test/asan/TestCases/strncpy-overflow.cc | 1 + compiler-rt/test/asan/TestCases/use-after-delete.cc | 1 + compiler-rt/test/asan/TestCases/use-after-free-right.cc | 1 + compiler-rt/test/asan/TestCases/use-after-free.cc | 1 + 20 files changed, 20 insertions(+) diff --git a/compiler-rt/test/asan/TestCases/Linux/clone_test.cc b/compiler-rt/test/asan/TestCases/Linux/clone_test.cc index bc6ef085..dfc8035 100644 --- a/compiler-rt/test/asan/TestCases/Linux/clone_test.cc +++ b/compiler-rt/test/asan/TestCases/Linux/clone_test.cc @@ -5,6 +5,7 @@ // RUN: %clangxx_asan -O1 %s -o %t && %run %t | FileCheck %s // RUN: %clangxx_asan -O2 %s -o %t && %run %t | FileCheck %s // RUN: %clangxx_asan -O3 %s -o %t && %run %t | FileCheck %s +// XFAIL: arm #include #include diff --git a/compiler-rt/test/asan/TestCases/Linux/glob.cc b/compiler-rt/test/asan/TestCases/Linux/glob.cc index 2cc8f41..3d81636 100644 --- a/compiler-rt/test/asan/TestCases/Linux/glob.cc +++ b/compiler-rt/test/asan/TestCases/Linux/glob.cc @@ -3,6 +3,7 @@ // // RUN: %clangxx_asan -O0 %s -o %t && %run %t %p 2>&1 | FileCheck %s // RUN: %clangxx_asan -O3 %s -o %t && %run %t %p 2>&1 | FileCheck %s +// XFAIL: arm #include #include diff --git a/compiler-rt/test/asan/TestCases/Linux/heavy_uar_test.cc b/compiler-rt/test/asan/TestCases/Linux/heavy_uar_test.cc index cedd69d..0850228 100644 --- a/compiler-rt/test/asan/TestCases/Linux/heavy_uar_test.cc +++ b/compiler-rt/test/asan/TestCases/Linux/heavy_uar_test.cc @@ -3,6 +3,7 @@ // RUN: not %run %t 2>&1 | FileCheck %s // RUN: %clangxx_asan -O2 %s -o %t && \ // RUN: not %run %t 2>&1 | FileCheck %s +// XFAIL: arm // FIXME: Fix this test under GCC. // REQUIRES: Clang diff --git a/compiler-rt/test/asan/TestCases/Linux/malloc_delete_mismatch.cc b/compiler-rt/test/asan/TestCases/Linux/malloc_delete_mismatch.cc index c9f61d8..d11bcdc 100644 --- a/compiler-rt/test/asan/TestCases/Linux/malloc_delete_mismatch.cc +++ b/compiler-rt/test/asan/TestCases/Linux/malloc_delete_mismatch.cc @@ -12,6 +12,7 @@ // Also works if no malloc context is available. // RUN: ASAN_OPTIONS=alloc_dealloc_mismatch=1:malloc_context_size=0:fast_unwind_on_malloc=0 not %run %t 2>&1 | FileCheck %s // RUN: ASAN_OPTIONS=alloc_dealloc_mismatch=1:malloc_context_size=0:fast_unwind_on_malloc=1 not %run %t 2>&1 | FileCheck %s +// XFAIL: arm #include static volatile char *x; diff --git a/compiler-rt/test/asan/TestCases/Linux/ptrace.cc b/compiler-rt/test/asan/TestCases/Linux/ptrace.cc index 94037ce..e0a537a 100644 --- a/compiler-rt/test/asan/TestCases/Linux/ptrace.cc +++ b/compiler-rt/test/asan/TestCases/Linux/ptrace.cc @@ -3,6 +3,7 @@ // // RUN: %clangxx_asan -O0 %s -o %t && %run %t // RUN: %clangxx_asan -DPOSITIVE -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s +// XFAIL: arm #include #include diff --git a/compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cc b/compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cc index 4c9a934..0cce1b5 100644 --- a/compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cc +++ b/compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cc @@ -4,6 +4,7 @@ // RUN: %clangxx_asan -DSHARED %s -shared -o %T/stack_trace_dlclose.so -fPIC // RUN: %clangxx_asan -DSO_DIR=\"%T\" %s -o %t // RUN: ASAN_OPTIONS=exitcode=0 %run %t 2>&1 | FileCheck %s +// XFAIL: arm #include #include diff --git a/compiler-rt/test/asan/TestCases/Posix/asan-symbolize-sanity-test.cc b/compiler-rt/test/asan/TestCases/Posix/asan-symbolize-sanity-test.cc index b1376ea..649f48b 100644 --- a/compiler-rt/test/asan/TestCases/Posix/asan-symbolize-sanity-test.cc +++ b/compiler-rt/test/asan/TestCases/Posix/asan-symbolize-sanity-test.cc @@ -7,6 +7,7 @@ // RUN: %clangxx_asan -O0 -DSHARED_LIB %s -fPIC -shared -o %t-so.so // RUN: %clangxx_asan -O0 %s -ldl -o %t // RUN: env ASAN_OPTIONS=symbolize=0 not %run %t 2>&1 | %asan_symbolize | FileCheck %s +// XFAIL: arm #if !defined(SHARED_LIB) #include diff --git a/compiler-rt/test/asan/TestCases/Posix/shared-lib-test.cc b/compiler-rt/test/asan/TestCases/Posix/shared-lib-test.cc index ccaeed6..e96623c 100644 --- a/compiler-rt/test/asan/TestCases/Posix/shared-lib-test.cc +++ b/compiler-rt/test/asan/TestCases/Posix/shared-lib-test.cc @@ -6,6 +6,7 @@ // RUN: %clangxx_asan -O2 %s -ldl -o %t && not %run %t 2>&1 | FileCheck %s // RUN: %clangxx_asan -O3 -DSHARED_LIB %s -fPIC -shared -o %t-so.so // RUN: %clangxx_asan -O3 %s -ldl -o %t && not %run %t 2>&1 | FileCheck %s +// XFAIL: arm #if !defined(SHARED_LIB) #include diff --git a/compiler-rt/test/asan/TestCases/Posix/start-deactivated.cc b/compiler-rt/test/asan/TestCases/Posix/start-deactivated.cc index ac45c16..81563a0 100644 --- a/compiler-rt/test/asan/TestCases/Posix/start-deactivated.cc +++ b/compiler-rt/test/asan/TestCases/Posix/start-deactivated.cc @@ -6,6 +6,7 @@ // RUN: %clangxx -O0 %s -c -o %t.o // RUN: %clangxx_asan -O0 %t.o -ldl -o %t // RUN: ASAN_OPTIONS=start_deactivated=1 not %run %t 2>&1 | FileCheck %s +// XFAIL: arm #if !defined(SHARED_LIB) #include diff --git a/compiler-rt/test/asan/TestCases/deep_stack_uaf.cc b/compiler-rt/test/asan/TestCases/deep_stack_uaf.cc index 9ce27d5..fc424e0 100644 --- a/compiler-rt/test/asan/TestCases/deep_stack_uaf.cc +++ b/compiler-rt/test/asan/TestCases/deep_stack_uaf.cc @@ -2,6 +2,7 @@ // RUN: %clangxx_asan -O0 %s -o %t 2>&1 // RUN: env ASAN_OPTIONS=malloc_context_size=120:redzone=512 not %run %t 2>&1 | FileCheck %s +// XFAIL: arm #include #include diff --git a/compiler-rt/test/asan/TestCases/double-free.cc b/compiler-rt/test/asan/TestCases/double-free.cc index 6bbca24..27f188a 100644 --- a/compiler-rt/test/asan/TestCases/double-free.cc +++ b/compiler-rt/test/asan/TestCases/double-free.cc @@ -4,6 +4,7 @@ // Also works if no malloc context is available. // RUN: env ASAN_OPTIONS=malloc_context_size=0:fast_unwind_on_malloc=0 not %run %t 2>&1 | FileCheck %s // RUN: env ASAN_OPTIONS=malloc_context_size=0:fast_unwind_on_malloc=1 not %run %t 2>&1 | FileCheck %s +// XFAIL: arm #include #include diff --git a/compiler-rt/test/asan/TestCases/gc-test.cc b/compiler-rt/test/asan/TestCases/gc-test.cc index 76113ec..958eb74 100644 --- a/compiler-rt/test/asan/TestCases/gc-test.cc +++ b/compiler-rt/test/asan/TestCases/gc-test.cc @@ -1,6 +1,7 @@ // RUN: %clangxx_asan %s -pthread -o %t // RUN: env ASAN_OPTIONS=detect_stack_use_after_return=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK1 // RUN: env ASAN_OPTIONS=detect_stack_use_after_return=0 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK0 +// XFAIL: arm #include #include diff --git a/compiler-rt/test/asan/TestCases/invalid-free.cc b/compiler-rt/test/asan/TestCases/invalid-free.cc index fdfec73..4bec52b 100644 --- a/compiler-rt/test/asan/TestCases/invalid-free.cc +++ b/compiler-rt/test/asan/TestCases/invalid-free.cc @@ -4,6 +4,7 @@ // Also works if no malloc context is available. // RUN: env ASAN_OPTIONS=malloc_context_size=0:fast_unwind_on_malloc=0 not %run %t 2>&1 | FileCheck %s // RUN: env ASAN_OPTIONS=malloc_context_size=0:fast_unwind_on_malloc=1 not %run %t 2>&1 | FileCheck %s +// XFAIL: arm #include #include diff --git a/compiler-rt/test/asan/TestCases/large_func_test.cc b/compiler-rt/test/asan/TestCases/large_func_test.cc index bdd6f8f..ac10e74 100644 --- a/compiler-rt/test/asan/TestCases/large_func_test.cc +++ b/compiler-rt/test/asan/TestCases/large_func_test.cc @@ -2,6 +2,7 @@ // RUN: %clangxx_asan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK // RUN: %clangxx_asan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK // RUN: %clangxx_asan -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK +// XFAIL: arm #include __attribute__((noinline)) diff --git a/compiler-rt/test/asan/TestCases/mmap_limit_mb.cc b/compiler-rt/test/asan/TestCases/mmap_limit_mb.cc index 5fc0295..27d38fa 100644 --- a/compiler-rt/test/asan/TestCases/mmap_limit_mb.cc +++ b/compiler-rt/test/asan/TestCases/mmap_limit_mb.cc @@ -7,6 +7,7 @@ // RUN: env ASAN_OPTIONS=mmap_limit_mb=500 %run %t 50 1000000 // RUN: env ASAN_OPTIONS=mmap_limit_mb=500 not %run %t 500 16 2>&1 | FileCheck %s // RUN: env ASAN_OPTIONS=mmap_limit_mb=500 not %run %t 500 1000000 2>&1 | FileCheck %s +// XFAIL: arm #include #include diff --git a/compiler-rt/test/asan/TestCases/sanity_check_pure_c.c b/compiler-rt/test/asan/TestCases/sanity_check_pure_c.c index 0ec86af..43d795d 100644 --- a/compiler-rt/test/asan/TestCases/sanity_check_pure_c.c +++ b/compiler-rt/test/asan/TestCases/sanity_check_pure_c.c @@ -5,6 +5,7 @@ // Sanity checking a test in pure C with -pie. // RUN: %clang_asan -O2 %s -pie -fPIE -o %t // RUN: not %run %t 2>&1 | FileCheck %s +// XFAIL: arm #include int main() { diff --git a/compiler-rt/test/asan/TestCases/strncpy-overflow.cc b/compiler-rt/test/asan/TestCases/strncpy-overflow.cc index 0d70b79..1c6eb8c 100644 --- a/compiler-rt/test/asan/TestCases/strncpy-overflow.cc +++ b/compiler-rt/test/asan/TestCases/strncpy-overflow.cc @@ -4,6 +4,7 @@ // RUN: %clangxx_asan -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK // REQUIRES: compiler-rt-optimized +// XFAIL: arm #include #include diff --git a/compiler-rt/test/asan/TestCases/use-after-delete.cc b/compiler-rt/test/asan/TestCases/use-after-delete.cc index 7696e18..3899683 100644 --- a/compiler-rt/test/asan/TestCases/use-after-delete.cc +++ b/compiler-rt/test/asan/TestCases/use-after-delete.cc @@ -2,6 +2,7 @@ // RUN: %clangxx_asan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK // RUN: %clangxx_asan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK // RUN: %clangxx_asan -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK +// XFAIL: arm #include int main() { diff --git a/compiler-rt/test/asan/TestCases/use-after-free-right.cc b/compiler-rt/test/asan/TestCases/use-after-free-right.cc index 16c4348..abe3659 100644 --- a/compiler-rt/test/asan/TestCases/use-after-free-right.cc +++ b/compiler-rt/test/asan/TestCases/use-after-free-right.cc @@ -2,6 +2,7 @@ // RUN: %clangxx_asan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK // RUN: %clangxx_asan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK // RUN: %clangxx_asan -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK +// XFAIL: arm // Test use-after-free report in the case when access is at the right border of // the allocation. diff --git a/compiler-rt/test/asan/TestCases/use-after-free.cc b/compiler-rt/test/asan/TestCases/use-after-free.cc index 7f77aac5..87a6e9f 100644 --- a/compiler-rt/test/asan/TestCases/use-after-free.cc +++ b/compiler-rt/test/asan/TestCases/use-after-free.cc @@ -2,6 +2,7 @@ // RUN: %clangxx_asan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK // RUN: %clangxx_asan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK // RUN: %clangxx_asan -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK +// XFAIL: arm #include int main() { -- 2.7.4