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
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
profile-sample-accurate.c
blob
3e4a152e527408b6479e7553ea3797ebe1e290fe
1
// Test to ensure -emit-llvm profile-sample-accurate is honored by clang.
2
// RUN: %clang -S -emit-llvm %s -fprofile-sample-accurate -o - | FileCheck %s
3
4
// CHECK: define{{.*}} void @foo()
5
// CHECK: attributes{{.*}} "profile-sample-accurate"
6
void
foo
(
void
) {
7
}