Bug 14281 – duplicate .debug_info entries for arrays, delegates and aa's

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
Linux
Creation time
2015-03-13T18:23:00Z
Last change time
2015-06-17T21:04:37Z
Keywords
pull
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2015-03-13T18:23:15Z
The internal cache for types doesn't for some entries because the sibling pointers are unique for each emitted .debug_info entry.
Comment #1 by code — 2015-03-13T18:39:12Z
Comment #2 by github-bugzilla — 2015-04-18T02:19:30Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5229aa40d34d9e757fca7d09ee3b0d00fac0d477 fix Issue 14281 - duplicate .debug_info entries for arrays, delegates and aa's - the duplicates exist because DW_AT_sibling pointers are unique for each entry and thus the hashing cache doesn't work - as DW_AT_sibling hardly provides a benefit when skipping over a few bytes, it's better to remove it - also shrinks debug info by a few percent https://github.com/D-Programming-Language/dmd/commit/42b94b6d07d9cd51a5807c572809102c8b390800 Merge pull request #4493 from MartinNowak/fix14281 fix Issue 14281 - duplicate .debug_info entries for arrays, delegates and aa's
Comment #3 by github-bugzilla — 2015-06-17T21:04:37Z
Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5229aa40d34d9e757fca7d09ee3b0d00fac0d477 fix Issue 14281 - duplicate .debug_info entries for arrays, delegates and aa's https://github.com/D-Programming-Language/dmd/commit/42b94b6d07d9cd51a5807c572809102c8b390800 Merge pull request #4493 from MartinNowak/fix14281