diff options
-rw-r--r-- | test/ubsan/TestCases/Misc/unreachable_asan-compatibility.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/ubsan/TestCases/Misc/unreachable_asan-compatibility.c b/test/ubsan/TestCases/Misc/unreachable_asan-compatibility.c deleted file mode 100644 index eaf7a6e63..000000000 --- a/test/ubsan/TestCases/Misc/unreachable_asan-compatibility.c +++ /dev/null @@ -1,16 +0,0 @@ -// Ensure compatiblity of UBSan unreachable with ASan in the presence of -// noreturn functions -// RUN: %clang -O2 -fPIC -fsanitize=address,unreachable %s -emit-llvm -S -o - | FileCheck %s -// REQUIRES: ubsan-asan, deactivate - -void bar(void) __attribute__((noreturn)); - -void foo() { - bar(); -} -// CHECK-LABEL: define void @foo() -// CHECK: call void @__asan_handle_no_return -// CHECK-NEXT: call void @bar -// CHECK-NEXT: call void @__asan_handle_no_return -// CHECK-NEXT: call void @__ubsan_handle_builtin_unreachable -// CHECK-NEXT: unreachable |