diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2023-03-05 17:35:53 -0800 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2023-03-07 09:56:19 -0800 |
commit | 74f1d7f4a3183bca13058dde29f5559d480a1b51 (patch) | |
tree | 3c9e830cbc6c2fd17b55b1629e3a251a06d7451d /gprofng/src/dbe_hwcfuncs.c | |
parent | 5fc6b6d44cd63651c2902cbfc5b9734a55aaa617 (diff) | |
download | binutils-74f1d7f4a3183bca13058dde29f5559d480a1b51.zip binutils-74f1d7f4a3183bca13058dde29f5559d480a1b51.tar.gz binutils-74f1d7f4a3183bca13058dde29f5559d480a1b51.tar.bz2 |
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.
Diffstat (limited to 'gprofng/src/dbe_hwcfuncs.c')
0 files changed, 0 insertions, 0 deletions