[Issue 19307] Variables moved to a closure show nonsense in debugger
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 16 06:13:11 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19307
--- Comment #1 from Rainer Schuetze <r.sagitario at gmx.de> ---
This is caused by 'x' being emitted as if it is still accessed via the frame
pointer. This is the relevant snippet form the cvdump output:
(000024) S_GPROC32: [0001:00009F10], Cb: 0000004F, Type: 0x1003, D
main
Parent: 00000000, End: 00000094, Next: 00000000
Debug start: 00000008, Debug end: 0000004A
(000054) S_ENDARG
(000058) S_REGREL32: rbp+FFFFFFE0, Type: 0x3BF6, __closptr
(000070) S_REGREL32: rbp+FFFFFFE8, Type: 0x1006, x
(000080) S_REGREL32: rbp+FFFFFFF0, Type: 0x100A, dg
--
More information about the Digitalmars-d-bugs
mailing list