Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / ubsan-noreturn.c
blobfa88e553e9163d03f3acf1ddbe41a5a236dd1378
1 // RUN: %clang_cc1 %s -emit-llvm -fsanitize=unreachable -o - | FileCheck %s
3 // CHECK-LABEL: @f(
4 void __attribute__((noreturn)) f(void) {
5 // CHECK: __ubsan_handle_builtin_unreachable
6 // CHECK: unreachable