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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
compiler-rt
/
test
/
profile
/
AIX
/
shared-bexpall-pgo.c
blob
b3b865db16f3239b01a0a1a0a22595ecb2072acd
1
// RUN: split-file %s %t
2
// RUN: cd %t
3
//
4
// RUN: %clang_pgogen foo.c -c -o foo.o
5
// RUN: %clang_pgogen -shared foo.o -o libfoo.so -bexpall
6
// RUN: %clang_pgogen -L%t user.c libfoo.so -o user1
7
// RUN: ./user1
8
9
//--- foo.c
10
void
foo
() {}
11
12
//--- user.c
13
void
foo
();
14
int
main
() {
foo
(); }