Debian Codegraph @

gcc/testsuite/gcc.target/bpf/bpf-debug-options-1.c

raw
1 /* Default to BTF debug info. */
2 /* { dg-do compile } */
3 /* { dg-options "-g -dA" }*/
4
5 struct A {
6 int x;
7 int y;
8 };
9
10 int
11 foo (struct A *a)
12 {
13 return a->x;
14 }
15
16 /* { dg-final { scan-assembler-not "DWARF version" } } */
17 /* { dg-final { scan-assembler "btf_version" } } */