[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gprofng/30195] [display text] Source code location can not be found
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gprofng/30195] [display text] Source code location can not be found |
Date: |
Tue, 07 Mar 2023 18:26:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30195
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Vladimir Mezentsev
<vmezents@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=74f1d7f4a3183bca13058dde29f5559d480a1b51
commit 74f1d7f4a3183bca13058dde29f5559d480a1b51
Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
Date: Sun Mar 5 17:35:53 2023 -0800
gprofng: read Dwarf 5
gprofng reads Dwarf to find function names, sources, and line numbers.
gprofng skips other debug information.
I fixed three places in gprofng Dwarf reader:
- parsing the compilation unit header.
- parsing the line number table header.
- parsing new DW_FORMs.
Tested on aarch64-linux/x86_64-linux.
gprofng/ChangeLog
2023-03-05 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
PR gprofng/30195
gprofng/src/Dwarf.cc: Support Dwarf-5.
gprofng/src/DwarfLib.cc: Likewise.
gprofng/src/Dwarf.h: Likewise.
gprofng/src/DwarfLib.h: Likewise.
gprofng/src/collctrl.cc: Don't read freed memory.
--
You are receiving this mail because:
You are on the CC list for the bug.