1 | // RUN: %clang_cc1 %s -emit-llvm -fsanitize=unreachable -o - | FileCheck %s |
---|---|
2 | |
3 | // CHECK-LABEL: @f( |
4 | void __attribute__((noreturn)) f() { |
5 | // CHECK: __ubsan_handle_builtin_unreachable |
6 | // CHECK: unreachable |
7 | } |
8 |
1 | // RUN: %clang_cc1 %s -emit-llvm -fsanitize=unreachable -o - | FileCheck %s |
---|---|
2 | |
3 | // CHECK-LABEL: @f( |
4 | void __attribute__((noreturn)) f() { |
5 | // CHECK: __ubsan_handle_builtin_unreachable |
6 | // CHECK: unreachable |
7 | } |
8 |