glibc/gmon
Adhemerval Zanella a2b0ff98a0 include/sys/cdefs.h: Add __attribute_optimization_barrier__
Add __attribute_optimization_barrier__ to disable inlining and cloning on a
function.  For Clang, expand it to

__attribute__ ((optnone))

Otherwise, expand it to

__attribute__ ((noinline, clone))

Co-Authored-By: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
2024-12-23 06:28:55 +08:00
..
sys
Makefile gmon: Reformat Makefile. 2024-02-25 13:38:16 -05:00
Versions
gmon.c Define write_profiling functions only in profile library [BZ #31756] 2024-05-22 06:12:55 -07:00
mcount.c
prof-freq.c
profil.c
sprofil.c
tst-gmon-gprof.sh
tst-gmon-pie.c
tst-gmon-static-gprof.sh
tst-gmon-static-pie.c
tst-gmon-static.c
tst-gmon.c include/sys/cdefs.h: Add __attribute_optimization_barrier__ 2024-12-23 06:28:55 +08:00
tst-mcleanup.c
tst-mcount-overflow-check.sh
tst-mcount-overflow.c include/sys/cdefs.h: Add __attribute_optimization_barrier__ 2024-12-23 06:28:55 +08:00
tst-profile-static.c
tst-sprofil.c