www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14276] New: DWARF debug info for SIMD broken


          Issue ID: 14276
           Summary: DWARF debug info for SIMD broken
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Keywords: symdeb
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

cat > bug.d << CODE
import core.simd;
void foo(int4 a, ubyte16 b)

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.

Mar 11 2015