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
/
Posix
/
instrprof-visibility-kinds.inc
blob
23b899dd8a3da500423423f8f8f17bf79db6dc58
1
void f1() {}
2
3
#ifndef NO_WEAK
4
void f2() __attribute__((weak));
5
void f2() {}
6
#endif
7
8
void f3() __attribute__((always_inline));
9
void f3() {}
10
11
#ifndef NO_EXTERN
12
extern void f4();
13
#endif
14
15
void f5() __attribute__((visibility("default")));
16
void f5() {}
17
18
void f6() __attribute__((visibility("hidden")));
19
void f6() {}
20
21
void f7() __attribute__((visibility("internal")));
22
void f7() {}
23
24
void call() {
25
f1();
26
#ifndef NO_WEAK
27
f2();
28
#endif
29
f3();
30
#ifndef NO_EXTERN
31
f4();
32
#endif
33
f5();
34
f6();
35
f7();
36
}