c[ode]clap » Forums » Expected Date for Windows DWARF Support
SaraPanda
Sara
8 posts
#17262 Expected Date for Windows DWARF Support
1 month, 3 weeks ago Edited by Sara on Jan. 27, 2019, 5:10 a.m.

Strange. I downloaded msys2 and performed:
1
pacman -S mingw-w64-x86_64-clang mingw-w64-x86_64-lld
and compiled with your invocation and still doesn't work.
spx
97 posts / 1 project
#17263 Expected Date for Windows DWARF Support
1 month, 3 weeks ago

SaraPanda
Strange. I downloaded msys2 and performed:
1
pacman -S mingw-w64-x86_64-clang mingw-w64-x86_64-lld
and compiled with your invocation and still doesn't work.


Same here (and the problem with the exe seems to be identical). I may have to do some further investigation in the future.
SaraPanda
Sara
8 posts
#17370 Expected Date for Windows DWARF Support
1 month, 1 week ago

I have found that linking against mingw import libraries from a normal mingw installation is a new feature, first present in lld 8.

Unless wanting to compile a pre-release version of lld, have to wait for binary release of llvm 8.0.0. This will hopefully be sometime in March.
spx
97 posts / 1 project
#20731 Expected Date for Windows DWARF Support
1 week, 2 days ago Edited by spx on March 14, 2019, 10:11 a.m.

I case you are not keeping up with the blog posts about new versions, here is good news. The newest version supports DWARF on Windows (earlier than planned). I didn't personally use it much but compiled all tests with DWARF on gcc and clang and everything seems to work. clang has a problem with outputting debug information for some C++ classes like std::string which seems to just be an empty struct so inspecting those values is not possible (gdb isn't able to show anything for those variables as well).