https://sourceware.org/bugzilla/show_bug.cgi?id=32892
--- Comment #9 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Vladimir Mezentsev <vmeze...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=52d8dcccc0c4fff5c48145a4156338c1f5c19b3c commit 52d8dcccc0c4fff5c48145a4156338c1f5c19b3c Author: Vladimir Mezentsev <vladimir.mezent...@oracle.com> Date: Mon May 19 13:13:46 2025 -0700 gprofng: fix 32892 source line level information not available with "-g -O2" gprofng did not read the .debug_rnglists section for dwarf-5. Another problem was that gprofng ignored DW_AT_abstract_origin As a result, gprofng skiped Dwarf for all functions declared as: <1><e18b>: Abbrev Number: 43 (DW_TAG_subprogram) <e18c> DW_AT_abstract_origin: <0xe168> <e190> DW_AT_linkage_name: _ZN10Bool_ArrayD2Ev gprofng/ChangeLog 2025-05-19 Vladimir Mezentsev <vladimir.mezent...@oracle.com> PR 32892 * src/Dwarf.cc: Read the .debug_rnglists section. Support DW_AT_abstract_origin. * src/Dwarf.h: Likewise. * src/DwarfLib.cc: Likewise. * src/DwarfLib.h: Likewise. * src/LoadObject.cc (dump_functions): Print mangled names for aliases. * src/Stabs.cc (fixSymtabAlias): Set 'alias' correctly. * src/Symbol.cc (find_symbols): Add argument where to collect symbols. * src/Symbol.h: Likewise. -- You are receiving this mail because: You are on the CC list for the bug.