Index: test/asan/TestCases/Posix/asan-sigbus.cpp =================================================================== --- test/asan/TestCases/Posix/asan-sigbus.cpp +++ test/asan/TestCases/Posix/asan-sigbus.cpp @@ -5,6 +5,8 @@ // RUN: %env_asan_opts=handle_sigbus=0 not --crash %run %t 2>&1 | FileCheck %s // UNSUPPORTED: ios +// Instead of getting a SIGBUS error, we get a SIGSEGV +// XFAIL: freebsd #include #include Index: test/asan/TestCases/Posix/fread_fwrite.cc =================================================================== --- test/asan/TestCases/Posix/fread_fwrite.cc +++ test/asan/TestCases/Posix/fread_fwrite.cc @@ -1,6 +1,9 @@ // RUN: %clangxx_asan -g %s -o %t // RUN: not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-FWRITE // RUN: not %run %t 1 2>&1 | FileCheck %s --check-prefix=CHECK-FREAD +// +// On FreeBSD stack overflow error instead +// XFAIL: freebsd #include #include Index: test/asan/TestCases/Posix/stack-use-after-return.cc =================================================================== --- test/asan/TestCases/Posix/stack-use-after-return.cc +++ test/asan/TestCases/Posix/stack-use-after-return.cc @@ -16,6 +16,8 @@ // This test runs out of stack on AArch64. // UNSUPPORTED: aarch64 +// stack size log lower than expected +// XFAIL: freebsd // FIXME: Fix this test for dynamic runtime on arm linux. // UNSUPPORTED: (arm-linux || armhf-linux) && asan-dynamic-runtime @@ -95,7 +97,7 @@ if (stacksize_check != desired_stack_size) { fprintf(stderr, "Unable to set stack size to %d, the stack size is %d.\n", - desired_stack_size, stacksize_check); + (int)desired_stack_size, (int)stacksize_check); abort(); } } Index: test/msan/dtls_test.c =================================================================== --- test/msan/dtls_test.c +++ test/msan/dtls_test.c @@ -6,7 +6,7 @@ see https://sourceware.org/bugzilla/show_bug.cgi?id=16291 and https://github.com/google/sanitizers/issues/547 - XFAIL: freebsd + XFAIL: FreeBSD UNSUPPORTED: powerpc */