]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gprof: Compile tst-gmon.c with -O2 -fno-omit-frame-pointer
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 8 Mar 2025 09:13:17 +0000 (17:13 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 8 Mar 2025 10:38:01 +0000 (18:38 +0800)
commit1563d43f32090495d50f0c262d6e1bcc17807064
tree78525b6eba0b2434cbca54dc262202c3e1525d19
parent4f0636220e6a60d85809fb4a982150f8bc3f218e
gprof: Compile tst-gmon.c with -O2 -fno-omit-frame-pointer

Compile tst-gmon.c with -O2 -fno-omit-frame-pointer to ensure proper call
graph generation.

PR gprof/32768
* configure.ac: Compile tst-gmon.c with -fno-omit-frame-pointer.
* configure: Regenerated.
* testsuite/Makefile.am (GPROF_FLAGS): Add -O2
-fno-omit-frame-pointer.
(AM_CFLAGS): Removed.
(COMPILE): Append $(GPROF_FLAGS).
(LINK): Likewise.
* testsuite/Makefile.in: Regenerated.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
gprof/configure
gprof/configure.ac
gprof/testsuite/Makefile.am
gprof/testsuite/Makefile.in