nativeGen/dwarf: Fix procedure end addresses
Previously the .debug_aranges
and .debug_info
(DIE) DWARF
information would claim that procedures (represented with a
DW_TAG_subprogram
DIE) would only span the range covered by their entry
block. This omitted all of the continuation blocks (represented by
DW_TAG_lexical_block
DIEs), confusing perf
. Fix this by introducing
a end-of-procedure label and using this as the DW_AT_high_pc
of
procedure DW_TAG_subprogram
DIEs
Fixes #17605 (closed).
Additionally fix two smaller issues:
- Generate
DW_TAG_source_note
nodes only with-g3
- Use the
DW_AT_linkage_name
attribute instead ofDW_AT_MIPS_linkage_name
(it's unclear why this was used originally)
Merge request reports
Activity
changed milestone to %8.10.1
added debug information + 1 deleted label
added 1 commit
- 9cd7c686 - nativeGen/dwarf: Fix procedure end addresses
added 1 commit
- 36dda4d7 - nativeGen/dwarf: Fix procedure end addresses
added 1 commit
- 9ca60666 - nativeGen/dwarf: Fix procedure end addresses
added 4 commits
Toggle commit listmentioned in merge request !2378 (closed)
added 8 commits
-
c1e0d897...d03dec8f - 5 commits from branch
master
- e74d78b8 - nativeGen/dwarf: Fix procedure end addresses
- 4669f166 - nativeGen/dwarf: Only produce DW_AT_source_note DIEs in -g3
- d1bb0e3d - nativeGen/dwarf: Use DW_AT_linkage instead of DW_AT_MIPS_linkage
Toggle commit list-
c1e0d897...d03dec8f - 5 commits from branch
added 1 commit
- 2cef417d - gitlab-ci: Add DWARF release jobs for Debian 10, Fedora27
added 21 commits
-
2cef417d...b84c09d5 - 17 commits from branch
master
- 2cdb9c66 - nativeGen/dwarf: Fix procedure end addresses
- 9553521b - nativeGen/dwarf: Only produce DW_AT_source_note DIEs in -g3
- 13dc027d - nativeGen/dwarf: Use DW_AT_linkage instead of DW_AT_MIPS_linkage
- 56eef987 - gitlab-ci: Add DWARF release jobs for Debian 10, Fedora27
Toggle commit list-
2cef417d...b84c09d5 - 17 commits from branch
added 4 commits
Toggle commit listadded 44 commits
-
27e6a39f...a71323ff - 40 commits from branch
master
- da005230 - nativeGen/dwarf: Fix procedure end addresses
- 8692a3df - nativeGen/dwarf: Only produce DW_AT_source_note DIEs in -g3
- cdb17ac0 - nativeGen/dwarf: Use DW_AT_linkage instead of DW_AT_MIPS_linkage
- 62476ed4 - gitlab-ci: Add DWARF release jobs for Debian 10, Fedora27
Toggle commit list-
27e6a39f...a71323ff - 40 commits from branch
changed milestone to %8.10.2
changed milestone to %9.0.1
added 1563 commits
-
62476ed4...730bb590 - 1559 commits from branch
master
- adde625d - nativeGen/dwarf: Fix procedure end addresses
- 859a19ef - nativeGen/dwarf: Only produce DW_AT_source_note DIEs in -g3
- 86e75555 - nativeGen/dwarf: Use DW_AT_linkage instead of DW_AT_MIPS_linkage
- dd153e57 - gitlab-ci: Add DWARF release jobs for Debian 10, Fedora27
Toggle commit list-
62476ed4...730bb590 - 1559 commits from branch
added 4 commits
Toggle commit list