Debian Codegraph @

gcc/testsuite/gcc.dg/debug/btf/btf-function-4.c

raw
1 /* Test BTF linkage for functions.
2
3 We expect to see one BTF_KIND_FUNC type with static linkage encoded in the
4 BTF type's vlen field. */
5
6 /* { dg-do compile } */
7 /* { dg-options "-O0 -gbtf -dA" } */
8
9 /* { dg-final { scan-assembler-times "btt_info: kind=12, kflag=0, linkage=0" 1 } } */
10
11 static int funfoo (void)
12 {
13 return 0;
14 }