gcc/testsuite/gcc.dg/debug/btf/btf-2.c
raw| 1 | /* Check the BTF header information. */ |
| 2 | |
| 3 | /* { dg-do compile } */ |
| 4 | /* { dg-options "-gbtf -dA" } */ |
| 5 | |
| 6 | /* { dg-final { scan-assembler-times "0xeb9f.*btf_magic" 1} } */ |
| 7 | /* { dg-final { scan-assembler-times "0x1.*btf_version" 1 } } */ |
| 8 | /* { dg-final { scan-assembler-times "0.*btf_flags" 1 } } */ |
| 9 | |
| 10 | int foo; |