diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2025-05-19 13:13:46 -0700 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2025-05-21 22:50:53 -0700 |
commit | 52d8dcccc0c4fff5c48145a4156338c1f5c19b3c (patch) | |
tree | 6b92c95e3daecefbe7f77acd16259592f299608d /gdb/make-init-c | |
parent | 575d205019105ad839fd5f93faf0f714ba640eec (diff) | |
download | binutils-52d8dcccc0c4fff5c48145a4156338c1f5c19b3c.zip binutils-52d8dcccc0c4fff5c48145a4156338c1f5c19b3c.tar.gz binutils-52d8dcccc0c4fff5c48145a4156338c1f5c19b3c.tar.bz2 |
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.mezentsev@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.
Diffstat (limited to 'gdb/make-init-c')
0 files changed, 0 insertions, 0 deletions