diff options
11 files changed, 26 insertions, 0 deletions
diff --git a/compiler-rt/test/asan/TestCases/Darwin/abort_on_error.cc b/compiler-rt/test/asan/TestCases/Darwin/abort_on_error.cc index 295afb8442a..0aa1234149d 100644 --- a/compiler-rt/test/asan/TestCases/Darwin/abort_on_error.cc +++ b/compiler-rt/test/asan/TestCases/Darwin/abort_on_error.cc @@ -8,6 +8,8 @@ // When we use lit's default ASAN_OPTIONS, we shouldn't crash. // RUN: not %run %t 2>&1 | FileCheck %s +// UNSUPPORTED: ios + #include <stdlib.h> int main() { char *x = (char*)malloc(10 * sizeof(char)); diff --git a/compiler-rt/test/asan/TestCases/Darwin/reexec-insert-libraries-env.cc b/compiler-rt/test/asan/TestCases/Darwin/reexec-insert-libraries-env.cc index cd277a05b40..bee23f25c89 100644 --- a/compiler-rt/test/asan/TestCases/Darwin/reexec-insert-libraries-env.cc +++ b/compiler-rt/test/asan/TestCases/Darwin/reexec-insert-libraries-env.cc @@ -10,6 +10,8 @@ // RUN: %env DYLD_INSERT_LIBRARIES=darwin-dummy-shared-lib-so.dylib \ // RUN: %run %t 2>&1 | FileCheck %s || exit 1 +// UNSUPPORTED: ios + #if !defined(SHARED_LIB) #include <stdio.h> #include <stdlib.h> diff --git a/compiler-rt/test/asan/TestCases/Darwin/unset-insert-libraries-on-exec.cc b/compiler-rt/test/asan/TestCases/Darwin/unset-insert-libraries-on-exec.cc index 966b46958b8..38fb3aa5584 100644 --- a/compiler-rt/test/asan/TestCases/Darwin/unset-insert-libraries-on-exec.cc +++ b/compiler-rt/test/asan/TestCases/Darwin/unset-insert-libraries-on-exec.cc @@ -13,6 +13,8 @@ // RUN: %env DYLD_INSERT_LIBRARIES=%t-darwin-dummy-shared-lib-so.dylib \ // RUN: %run %t %t-echo-env 2>&1 | FileCheck %s || exit 1 +// UNSUPPORTED: ios + #if !defined(SHARED_LIB) #include <unistd.h> int main(int argc, char *argv[]) { 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 2c4c133b740..11d5928a801 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 @@ -9,6 +9,8 @@ // RUN: %env_asan_opts=symbolize=0 not %run %t 2>&1 | %asan_symbolize | FileCheck %s // REQUIRES: stable-runtime +// UNSUPPORTED: ios + #if !defined(SHARED_LIB) #include <dlfcn.h> #include <stdio.h> diff --git a/compiler-rt/test/asan/TestCases/Posix/deep_call_stack.cc b/compiler-rt/test/asan/TestCases/Posix/deep_call_stack.cc index 2d2b056d638..e6e82a47572 100644 --- a/compiler-rt/test/asan/TestCases/Posix/deep_call_stack.cc +++ b/compiler-rt/test/asan/TestCases/Posix/deep_call_stack.cc @@ -5,6 +5,9 @@ // Also check that use_sigaltstack+verbosity doesn't crash. // RUN: %env_asan_opts=verbosity=1:use_sigaltstack=1:detect_stack_use_after_return=1 %run %t | FileCheck %s + +// UNSUPPORTED: ios + #include <stdio.h> __attribute__((noinline)) diff --git a/compiler-rt/test/asan/TestCases/Posix/handle_abort_on_error.cc b/compiler-rt/test/asan/TestCases/Posix/handle_abort_on_error.cc index fa8cdd4ce0c..1be060e06aa 100644 --- a/compiler-rt/test/asan/TestCases/Posix/handle_abort_on_error.cc +++ b/compiler-rt/test/asan/TestCases/Posix/handle_abort_on_error.cc @@ -1,6 +1,8 @@ // Regression test: this used to abort() in SIGABRT handler in an infinite loop. // RUN: %clangxx_asan -O0 %s -o %t && %env_asan_opts=handle_abort=1,abort_on_error=1 not --crash %run %t 2>&1 | FileCheck %s +// UNSUPPORTED: ios + #include <stdlib.h> int main() { diff --git a/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_test.cc b/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_test.cc index dd50bf7fe6a..40a9b78749b 100644 --- a/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_test.cc +++ b/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_test.cc @@ -3,6 +3,9 @@ // RUN: not %run %t 2>&1 | FileCheck %s // RUN: %env_asan_opts=poison_array_cookie=1 not %run %t 2>&1 | FileCheck %s // RUN: %env_asan_opts=poison_array_cookie=0 not %run %t 2>&1 | FileCheck %s --check-prefix=NO_COOKIE + +// UNSUPPORTED: ios + #include <stdio.h> #include <stdlib.h> struct C { diff --git a/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_uaf_test.cc b/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_uaf_test.cc index f36da2b5438..335a56757d2 100644 --- a/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_uaf_test.cc +++ b/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_uaf_test.cc @@ -2,6 +2,9 @@ // RUN: %clangxx_asan -O3 %s -o %t // RUN: %env_asan_opts=poison_array_cookie=1 not %run %t 2>&1 | FileCheck %s --check-prefix=COOKIE // RUN: %env_asan_opts=poison_array_cookie=0 not %run %t 2>&1 | FileCheck %s --check-prefix=NO_COOKIE + +// UNSUPPORTED: ios + #include <stdio.h> #include <stdlib.h> #include <assert.h> diff --git a/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_with_new_from_class.cc b/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_with_new_from_class.cc index 0683e391cf2..e7f774674e2 100644 --- a/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_with_new_from_class.cc +++ b/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_with_new_from_class.cc @@ -3,6 +3,9 @@ // RUN: %clangxx_asan %s -o %t && %run %t // // XFAIL: arm + +// UNSUPPORTED: ios + #include <new> #include <stdlib.h> #include <stdint.h> diff --git a/compiler-rt/test/asan/TestCases/Posix/stack-overflow.cc b/compiler-rt/test/asan/TestCases/Posix/stack-overflow.cc index 8ef16186249..d6b062ed3fb 100644 --- a/compiler-rt/test/asan/TestCases/Posix/stack-overflow.cc +++ b/compiler-rt/test/asan/TestCases/Posix/stack-overflow.cc @@ -16,6 +16,8 @@ // RUN: not %run %t 2>&1 | FileCheck %s // REQUIRES: stable-runtime +// UNSUPPORTED: ios + #include <assert.h> #include <stdlib.h> #include <pthread.h> diff --git a/compiler-rt/test/asan/TestCases/heavy_uar_test.cc b/compiler-rt/test/asan/TestCases/heavy_uar_test.cc index ef61ead635e..9ad29f079d9 100644 --- a/compiler-rt/test/asan/TestCases/heavy_uar_test.cc +++ b/compiler-rt/test/asan/TestCases/heavy_uar_test.cc @@ -8,6 +8,8 @@ // FIXME: Fix this test for dynamic runtime on armhf-linux. // UNSUPPORTED: armhf-linux && asan-dynamic-runtime +// UNSUPPORTED: ios + #include <stdio.h> #include <string.h> #include <stdlib.h> |