-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 tests are broken after LLVM upgrade #5836
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
Comments
ghost
assigned brson
Apr 11, 2013
According to echristo, the debug metadata node format changed and the docs weren't updated. Easiest way to unbreak it is to refer to the Clang source as reference. |
This would be very nice to have working again. |
Actually, this bug should be clarified: Is this bug pointing out that:
|
(Moving my nomination request to #6814.) |
The bug is pointing out the first point in your list. |
Closed
bors
added a commit
that referenced
this issue
Jun 17, 2013
This commit fixes rustc's debug info generation and turns debug-info tests back on. The old generator used to write out LLVM metadata directly, however it seems that debug metadata format is not stable and keeps changing from release to release. So I wrapped LLVM's official debug info API - the DIBuilder class, and now rustc will use that. One bit of old functionality that still doesn't work, is debug info for function arguments. Someone more familiar with the compiler guts will need to look into that. Also, unfortunately, debug info is still won't work on Windows,- due to a LLVM bug (http://llvm.org/bugs/show_bug.cgi?id=16249). Resolves issues #5836, #5848, #6814
Fix0red. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://buildbot.rust-lang.org/builders/auto-linux/builds/808/steps/test/logs/stdio
(Update from Felix: the link above is dead.)
The text was updated successfully, but these errors were encountered: