3 ms·
The author's chief complaint appears to be that dmd produces incorrect debug info on Windows, something I'd expect a reference compiler to do. A reference compi
by Xorlev 4y ago
The author's chief complaint appears to be that dmd produces incorrect debug info on Windows, something I'd expect a reference compiler to do. A reference compiler doesn't have to be fast, but it does need to be correct.
- mhh__ 4y agoDebug info is one of the backend things that does get priority with dmd. It has gotten some performance increases in recent years but these are mostly just a nicety. Personally I have fixed some debug info generation problems so it is being worked on.
- schemescape 4y agoIt wasn’t clear to me: is the debug info wrong or is it just missing because stuff is getting optimized out? Both? I know in the past I had some difficulty in C++ on x64 because variables were getting optimized out (so depending on where you were in the function the variable literally didn’t exist anymore).