diff options
-rw-r--r-- | test/sanitizer_common/TestCases/Linux/ill.cc | 5 | ||||
-rw-r--r-- | test/sanitizer_common/TestCases/Posix/fpe.cc | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/test/sanitizer_common/TestCases/Linux/ill.cc b/test/sanitizer_common/TestCases/Linux/ill.cc index 47a278387..02ace10b9 100644 --- a/test/sanitizer_common/TestCases/Linux/ill.cc +++ b/test/sanitizer_common/TestCases/Linux/ill.cc @@ -1,7 +1,7 @@ // Test the handle_sigill option. // clang-format off -// RUN: %clang %s -o %t -O1 +// RUN: %clangxx %s -o %t -O1 // RUN: not --crash %run %t 2>&1 | FileCheck --check-prefix=CHECK0 %s // RUN: %env_tool_opts=handle_sigill=0 not --crash %run %t 2>&1 | FileCheck --check-prefix=CHECK0 %s // RUN: %env_tool_opts=handle_sigill=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK1 %s @@ -9,8 +9,7 @@ // FIXME: implement in other sanitizers. // XFAIL: tsan -// XFAIL: ubsan -// + // FIXME: seems to fail on ARM // REQUIRES: x86_64-target-arch #include <assert.h> diff --git a/test/sanitizer_common/TestCases/Posix/fpe.cc b/test/sanitizer_common/TestCases/Posix/fpe.cc index 4f887b5f1..ea9949680 100644 --- a/test/sanitizer_common/TestCases/Posix/fpe.cc +++ b/test/sanitizer_common/TestCases/Posix/fpe.cc @@ -1,12 +1,12 @@ // Test the handle_sigfpe option. -// RUN: %clang %s -o %t +// RUN: %clangxx %s -o %t // RUN: not %run %t 2>&1 | FileCheck --check-prefix=CHECK1 %s // RUN: %env_tool_opts=handle_sigfpe=0 not --crash %run %t 2>&1 | FileCheck --check-prefix=CHECK0 %s // RUN: %env_tool_opts=handle_sigfpe=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK1 %s + // FIXME: implement in other sanitizers, not just asan. // XFAIL: tsan -// XFAIL: ubsan -// + // FIXME: seems to fail on ARM // REQUIRES: x86_64-target-arch #include <assert.h> |