repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
ubsan-noreturn.c
blob
fa88e553e9163d03f3acf1ddbe41a5a236dd1378
1
// RUN: %clang_cc1 %s -emit-llvm -fsanitize=unreachable -o - | FileCheck %s
2
3
// CHECK-LABEL: @f(
4
void
__attribute__
((
noreturn
))
f
(
void
) {
5
// CHECK: __ubsan_handle_builtin_unreachable
6
// CHECK: unreachable
7
}