https://issues.dlang.org/show_bug.cgi?id=22352

          Issue ID: 22352
           Summary: DWARF array tags should not be ambiguous
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

Currently the compiler generates "_Array_struct" for array of structs and
"_Array_<primitive_type>" for primitive types. This is ambiguous to represent
symbols and debuggers should output this correctly when getting the pretty name

DW_AT_type      (0x000002ed "_Array_struct")

Instead, something like the following should happen:

DW_AT_type      (0x000002e7 "app.A_A[]")

This will also improve consistency between compiler implementations.

--

Reply via email to