Bug 22492 – DWARF: DW_TAG_enumerator is not being generated for enum members

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-11-08T14:51:06Z
Last change time
2024-12-13T19:19:11Z
Keywords
DebugInfo
Assigned to
No Owner
Creator
Luís Ferreira
Moved to GitHub: dmd#20004 →

Comments

Comment #0 by contact — 2021-11-08T14:51:06Z
Currently there is no debug information about the members of an enum: ``` 0x0000018c: DW_TAG_enumeration_type DW_AT_name ("types.ABC") DW_AT_declaration (0x01) ``` Expected result: ``` 0x0000002f: DW_TAG_enumeration_type DW_AT_name ("ABC") ... 0x0000003c: DW_TAG_enumerator DW_AT_name ("A") DW_AT_const_value (0) 0x00000042: DW_TAG_enumerator DW_AT_name ("B") DW_AT_const_value (1) 0x00000048: DW_TAG_enumerator DW_AT_name ("C") DW_AT_const_value (2) ```
Comment #1 by robert.schadek — 2024-12-13T19:19:11Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20004 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB