New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
debug info issues when linking libc on mingw #2951
Comments
|
This is the code choosing CodeView instead of DWARF: Lines 8004 to 8008 in bc982e6
|
Looking at why they do it this way, it's quite a special case llvm-mirror/lld@9722f66. |
Would be happy to accept reasonable PRs for mingw compat but it is not one of the supported targets of Zig, so I don't want to have issues open for it. |
when linking to libc on mingw-w64 lld places the pdb info in the
.buildid
rather than.rdata
. this breaks stack traces and debug info parsing on mingw-w64. another possible interesting area of research is that lld seems to support outputting DWARF debug info for windows. perhaps for debug builds on windows we could try finding some way to output both types of debug info.The text was updated successfully, but these errors were encountered: