digitalmars.D.bugs - [Issue 21154] New: DWARF: shared types are not represented
- d-bugmail puremagic.com (32/32) Aug 13 2020 https://issues.dlang.org/show_bug.cgi?id=21154
https://issues.dlang.org/show_bug.cgi?id=21154 Issue ID: 21154 Summary: DWARF: shared types are not represented Product: D Version: D2 Hardware: All OS: Linux Status: NEW Severity: minor Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: lucien.perregaux gmail.com Consider the following program: --- module bar; shared int i; void main(string[] args) { i = 2; } --- DMD will emit this: --- 0x00000082: DW_TAG_variable DW_AT_name ("_D3bar1iOi") DW_AT_type (0x0000007b "int") DW_AT_external (0x01) DW_AT_location (DW_OP_addr 0x97430) --- The debugger doesn't know that the variable is shared. --
Aug 13 2020