diff options
23 files changed, 25 insertions, 0 deletions
diff --git a/test/asan/TestCases/Linux/clang_gcc_abi.cc b/test/asan/TestCases/Linux/clang_gcc_abi.cc index 9f55485ed..e83388166 100644 --- a/test/asan/TestCases/Linux/clang_gcc_abi.cc +++ b/test/asan/TestCases/Linux/clang_gcc_abi.cc @@ -4,6 +4,7 @@ // RUN: %clangxx_asan -O3 -x c %s -o %t && not %run %t 2>&1 | FileCheck %s // REQUIRES: arm-supported-target +// XFAIL: armv7l-unknown-linux-gnueabihf #include <stdlib.h> diff --git a/test/asan/TestCases/Linux/heavy_uar_test.cc b/test/asan/TestCases/Linux/heavy_uar_test.cc index bfea52071..9068da2fd 100644 --- a/test/asan/TestCases/Linux/heavy_uar_test.cc +++ b/test/asan/TestCases/Linux/heavy_uar_test.cc @@ -7,6 +7,7 @@ // FIXME: Fix this test under GCC. // REQUIRES: Clang +// XFAIL: armv7l-unknown-linux-gnueabihf #include <stdio.h> #include <string.h> diff --git a/test/asan/TestCases/Linux/malloc_delete_mismatch.cc b/test/asan/TestCases/Linux/malloc_delete_mismatch.cc index 085eb151c..18d65ce00 100644 --- a/test/asan/TestCases/Linux/malloc_delete_mismatch.cc +++ b/test/asan/TestCases/Linux/malloc_delete_mismatch.cc @@ -13,6 +13,7 @@ // 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-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf #include <stdlib.h> static volatile char *x; diff --git a/test/asan/TestCases/Linux/new_array_cookie_with_new_from_class.cc b/test/asan/TestCases/Linux/new_array_cookie_with_new_from_class.cc index 7d4410679..1cea6f68a 100644 --- a/test/asan/TestCases/Linux/new_array_cookie_with_new_from_class.cc +++ b/test/asan/TestCases/Linux/new_array_cookie_with_new_from_class.cc @@ -3,6 +3,7 @@ // RUN: %clangxx_asan %s -o %t && %run %t // // XFAIL: android +// XFAIL: armv7l-unknown-linux-gnueabihf #include <new> #include <stdlib.h> #include <stdint.h> diff --git a/test/asan/TestCases/Linux/ptrace.cc b/test/asan/TestCases/Linux/ptrace.cc index 45febd3de..926ff32a6 100644 --- a/test/asan/TestCases/Linux/ptrace.cc +++ b/test/asan/TestCases/Linux/ptrace.cc @@ -4,6 +4,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-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf #include <assert.h> #include <stdio.h> diff --git a/test/asan/TestCases/Linux/stack-trace-dlclose.cc b/test/asan/TestCases/Linux/stack-trace-dlclose.cc index 44c8a038f..e494e5661 100644 --- a/test/asan/TestCases/Linux/stack-trace-dlclose.cc +++ b/test/asan/TestCases/Linux/stack-trace-dlclose.cc @@ -5,6 +5,7 @@ // RUN: %clangxx_asan -DSO_DIR=\"%T\" %s -o %t // RUN: ASAN_OPTIONS=exitcode=0 %run %t 2>&1 | FileCheck %s // XFAIL: arm-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf #include <assert.h> #include <dlfcn.h> diff --git a/test/asan/TestCases/Posix/asan-symbolize-sanity-test.cc b/test/asan/TestCases/Posix/asan-symbolize-sanity-test.cc index 5a6a29fb3..6ed02f4d5 100644 --- a/test/asan/TestCases/Posix/asan-symbolize-sanity-test.cc +++ b/test/asan/TestCases/Posix/asan-symbolize-sanity-test.cc @@ -8,6 +8,7 @@ // RUN: %clangxx_asan -O0 %s -o %t // RUN: env ASAN_OPTIONS=symbolize=0 not %run %t 2>&1 | %asan_symbolize | FileCheck %s // XFAIL: arm-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf #if !defined(SHARED_LIB) #include <dlfcn.h> diff --git a/test/asan/TestCases/Posix/start-deactivated.cc b/test/asan/TestCases/Posix/start-deactivated.cc index f8f6229c3..d60677a8a 100644 --- a/test/asan/TestCases/Posix/start-deactivated.cc +++ b/test/asan/TestCases/Posix/start-deactivated.cc @@ -7,6 +7,7 @@ // RUN: %clangxx_asan -O0 %t.o -o %t // RUN: ASAN_OPTIONS=start_deactivated=1 not %run %t 2>&1 | FileCheck %s // XFAIL: arm-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf #if !defined(SHARED_LIB) #include <dlfcn.h> diff --git a/test/asan/TestCases/deep_stack_uaf.cc b/test/asan/TestCases/deep_stack_uaf.cc index 69be106db..3e88d697f 100644 --- a/test/asan/TestCases/deep_stack_uaf.cc +++ b/test/asan/TestCases/deep_stack_uaf.cc @@ -3,6 +3,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-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf #include <stdlib.h> #include <stdio.h> diff --git a/test/asan/TestCases/double-free.cc b/test/asan/TestCases/double-free.cc index 212d7eaa5..f0dd29174 100644 --- a/test/asan/TestCases/double-free.cc +++ b/test/asan/TestCases/double-free.cc @@ -5,6 +5,7 @@ // 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-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf #include <stdlib.h> #include <string.h> diff --git a/test/asan/TestCases/gc-test.cc b/test/asan/TestCases/gc-test.cc index ffbea85b2..08efd4f97 100644 --- a/test/asan/TestCases/gc-test.cc +++ b/test/asan/TestCases/gc-test.cc @@ -2,6 +2,7 @@ // 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 // REQUIRES: stable-runtime +// XFAIL: armv7l-unknown-linux-gnueabihf #include <assert.h> #include <stdio.h> diff --git a/test/asan/TestCases/invalid-free.cc b/test/asan/TestCases/invalid-free.cc index 34018fbfb..cb545ccc2 100644 --- a/test/asan/TestCases/invalid-free.cc +++ b/test/asan/TestCases/invalid-free.cc @@ -5,6 +5,7 @@ // 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-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf #include <stdlib.h> #include <string.h> diff --git a/test/asan/TestCases/large_func_test.cc b/test/asan/TestCases/large_func_test.cc index 0d651f6ec..6b592f8c4 100644 --- a/test/asan/TestCases/large_func_test.cc +++ b/test/asan/TestCases/large_func_test.cc @@ -3,6 +3,7 @@ // 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-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf #include <stdlib.h> __attribute__((noinline)) diff --git a/test/asan/TestCases/sanity_check_pure_c.c b/test/asan/TestCases/sanity_check_pure_c.c index 01d87e730..c3a43c8ca 100644 --- a/test/asan/TestCases/sanity_check_pure_c.c +++ b/test/asan/TestCases/sanity_check_pure_c.c @@ -6,6 +6,7 @@ // RUN: %clang_asan -O2 %s -pie -fPIE -o %t // RUN: not %run %t 2>&1 | FileCheck %s // XFAIL: arm-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf #include <stdlib.h> int main() { diff --git a/test/asan/TestCases/strncpy-overflow.cc b/test/asan/TestCases/strncpy-overflow.cc index 8001047c5..651ae2279 100644 --- a/test/asan/TestCases/strncpy-overflow.cc +++ b/test/asan/TestCases/strncpy-overflow.cc @@ -5,6 +5,7 @@ // REQUIRES: compiler-rt-optimized // XFAIL: arm-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf #include <string.h> #include <stdlib.h> diff --git a/test/asan/TestCases/use-after-delete.cc b/test/asan/TestCases/use-after-delete.cc index f22e9e50d..8fdec8d83 100644 --- a/test/asan/TestCases/use-after-delete.cc +++ b/test/asan/TestCases/use-after-delete.cc @@ -3,6 +3,7 @@ // 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-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf #include <stdlib.h> int main() { diff --git a/test/asan/TestCases/use-after-free-right.cc b/test/asan/TestCases/use-after-free-right.cc index 68ac15848..f714b44f2 100644 --- a/test/asan/TestCases/use-after-free-right.cc +++ b/test/asan/TestCases/use-after-free-right.cc @@ -3,6 +3,7 @@ // 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-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf // Test use-after-free report in the case when access is at the right border of // the allocation. diff --git a/test/asan/TestCases/use-after-free.cc b/test/asan/TestCases/use-after-free.cc index 0cd87ee5e..7bc225b1e 100644 --- a/test/asan/TestCases/use-after-free.cc +++ b/test/asan/TestCases/use-after-free.cc @@ -3,6 +3,7 @@ // 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-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf #include <stdlib.h> int main() { diff --git a/test/asan/TestCases/zero_page_pc.cc b/test/asan/TestCases/zero_page_pc.cc index 7cd3eabd2..53615dd58 100644 --- a/test/asan/TestCases/zero_page_pc.cc +++ b/test/asan/TestCases/zero_page_pc.cc @@ -3,6 +3,7 @@ // https://code.google.com/p/address-sanitizer/issues/detail?id=336 // XFAIL: android +// XFAIL: armv7l-unknown-linux-gnueabihf typedef void void_f(); int main() { diff --git a/test/profile/lit.cfg b/test/profile/lit.cfg index 8a847ae3e..e4910abbe 100644 --- a/test/profile/lit.cfg +++ b/test/profile/lit.cfg @@ -48,3 +48,6 @@ config.substitutions.append( ("%clang_profuse=", build_invocation(clang_cflags) if config.host_os not in ['Darwin', 'FreeBSD', 'Linux']: config.unsupported = True + +if config.target_arch in ['armv7l']: + config.unsupported = True diff --git a/test/sanitizer_common/TestCases/Linux/ptrace.cc b/test/sanitizer_common/TestCases/Linux/ptrace.cc index 797e7b451..851a1ec69 100644 --- a/test/sanitizer_common/TestCases/Linux/ptrace.cc +++ b/test/sanitizer_common/TestCases/Linux/ptrace.cc @@ -1,5 +1,6 @@ // RUN: %clangxx -O0 %s -o %t && %run %t // XFAIL: arm-linux-gnueabi +// XFAIL: armv7l-unknown-linux-gnueabihf #include <assert.h> #include <signal.h> diff --git a/test/ubsan/TestCases/Float/cast-overflow.cpp b/test/ubsan/TestCases/Float/cast-overflow.cpp index abb65bfad..3f87e4086 100644 --- a/test/ubsan/TestCases/Float/cast-overflow.cpp +++ b/test/ubsan/TestCases/Float/cast-overflow.cpp @@ -13,6 +13,7 @@ // RUN: not %run %t 9 2>&1 | FileCheck %s --check-prefix=CHECK-9 // This test assumes float and double are IEEE-754 single- and double-precision. +// XFAIL: armv7l-unknown-linux-gnueabihf #if defined(__APPLE__) # include <machine/endian.h> diff --git a/test/ubsan/TestCases/TypeCheck/misaligned.cpp b/test/ubsan/TestCases/TypeCheck/misaligned.cpp index a31384019..d5d70f2e5 100644 --- a/test/ubsan/TestCases/TypeCheck/misaligned.cpp +++ b/test/ubsan/TestCases/TypeCheck/misaligned.cpp @@ -10,6 +10,7 @@ // RUN: %clangxx -fsanitize=alignment -fno-sanitize-recover %s -O3 -o %t // RUN: not %run %t w1 2>&1 | FileCheck %s --check-prefix=CHECK-WILD +// XFAIL: armv7l-unknown-linux-gnueabihf #include <new> |