Mark various failing tests with "UNSUPPORTED: ios".
llvm-svn: 313498
This commit is contained in:
parent
a98e1e214d
commit
8db966a097
|
@ -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));
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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[]) {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
// RUN: %clangxx_asan %s -o %t && %run %t
|
||||
//
|
||||
// XFAIL: arm
|
||||
|
||||
// UNSUPPORTED: ios
|
||||
|
||||
#include <new>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue