[Issue 982] Codeview: symbols of enum type are declared integer
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 20 20:55:50 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=982
--- Comment #2 from Rainer Schuetze <r.sagitario at gmx.de> ---
Still in dmd 2.087.1. Example:
enum EE
{
E1, E2, E3
}
void main()
{
EE e = EE.E1;
}
>dmd -m64 -g test.d
>cvdump.exe test.obj | grep.exe -C5 "D main"
(000044) S_GPROC32: [0000:00000000], Cb: 00000012, Type: 0x106E, D
main
Parent: 00000000, End: 00000000, Next: 00000000
Debug start: 00000008, Debug end: 0000000D
(000072) S_ENDARG
(000076) S_REGREL32: rbp+FFFFFFF8, Type: T_INT4(0074), e
--
More information about the Digitalmars-d-bugs
mailing list