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.
GDB currently seems to crashe while reading that debug info.
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
Commits pushed to stable 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 https://github.com/D-Programming-Language/dmd/commit/0701de6dd84ca7c9998ed41f50bf33d626082493 Merge pull request #4485 from MartinNowak/fix14276