Debian Codegraph @

gcc/testsuite/gcc.target/i386/fentryname3.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target mfentry } */
3 /* { dg-require-profiling "-pg" } */
4 /* { dg-options "-pg -mfentry" } */
5 /* { dg-final { scan-assembler "section.*__entry_loc" } } */
6 /* { dg-final { scan-assembler "0x0f, 0x1f, 0x44, 0x00, 0x00" } } */
7 /* { dg-final { scan-assembler-not "__fentry__" } } */
8
9 __attribute__((fentry_name("nop"), fentry_section("__entry_loc")))
10 void foo(void)
11 {
12 }