The following testcase:
----
void main() {
wchar c;
}
----
Causes dmd to output invalid debug information.
Comment #1 by robert — 2010-04-01T07:43:59Z
It would seem that dmd does not support writing debug info for wchar yet, as the case for dealing with wchar is wrapped in #if 0, and has some information on what the correct debug information should be.
Comment #2 by robert — 2010-04-01T11:36:11Z
Created attachment 595
Patch to add support for debugging info for wchar
I'm not sure if the file/line number that are written to the file matter, I don't think they do so I set them both to 1. This might need the patch for #3987 applied, might not.
Comment #3 by robert — 2010-04-07T13:39:04Z
Comment on attachment 595
Patch to add support for debugging info for wchar
This patch has been included with the new patch in bug #3987.