Cross Reference: instrprof-shared-lib.c
xref
: /
netbsd-current
/
sys
/
external
/
bsd
/
compiler_rt
/
dist
/
test
/
profile
/
Inputs
/
instrprof-shared-lib.c
Home
History
Annotate
Line#
Navigate
Raw
Download
only in
/netbsd-current/sys/external/bsd/compiler_rt/dist/test/profile/Inputs/
1
int
g1
= 0;
2
int
g2
=
1
;
3
4
void
foo
(
int
n) {
5
if
(n %
5
== 0)
6
g1
++;
7
else
8
g2
++;
9
}
10