gprofng: fix Dwarf reader for DW_TAG_subprogram
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>
Fri, 17 Feb 2023 03:35:35 +0000 (19:35 -0800)
committerVladimir Mezentsev <vladimir.mezentsev@oracle.com>
Fri, 17 Feb 2023 22:00:54 +0000 (14:00 -0800)
commit490ea364df8bea907b6990200912b99ce79e6a55
tree3a308e0fe0c0f7d58ef83f856af9fd5b048068c9
parentf6f19a39ecfe962cb8a05522c27f513308687a74
gprofng: fix Dwarf reader for DW_TAG_subprogram

gprofng/ChangeLog
2023-02-16  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>

* src/Dwarf.cc: Skip DW_TAG_subprogram when DW_AT_declaration is 1.
gprofng/src/Dwarf.cc