Bug 14276 – DWARF debug info for SIMD broken

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
Linux
Creation time
2015-03-11T12:53:00Z
Last change time
2015-06-17T21:02:10Z
Keywords
symdeb
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2015-03-11T12:53:00Z
cat > bug.d << CODE import core.simd; void foo(int4 a, ubyte16 b) { } CODE dmd -c -g bug.d ---- dwarfdump bug.o ---- dwarfdump: A parent DW_AT_sibling of 0x0000007a points at the first child 0x0000007a so the die tree is corrupt (showing section, not CU, offsets). The subrange for the vector is encoded incorrectly.
Comment #1 by code — 2015-03-11T12:58:10Z
GDB currently seems to crashe while reading that debug info.
Comment #2 by github-bugzilla — 2015-03-21T09:48:43Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/de2bd348fe46240af3bf5e1190c7de2ed1b8955e fix Issue 14276 - DWARF debug info for SIMD broken - subrange needs to follow vector type as child - base type is encoded separately https://github.com/D-Programming-Language/dmd/commit/0701de6dd84ca7c9998ed41f50bf33d626082493 Merge pull request #4485 from MartinNowak/fix14276 fix Issue 14276 - DWARF debug info for SIMD broken
Comment #3 by github-bugzilla — 2015-06-17T21:02:10Z