-
Notifications
You must be signed in to change notification settings - Fork 13.3k
suspect bug in emitting debug information #11600
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
Comments
I expect this to come from CrateDebugContext::new, which is called by http://mxr.mozilla.org/rust/source/src/librustc/middle/trans/context.rs#168 . |
http://mxr.mozilla.org/rust/source/src/librustc/middle/trans/base.rs#3376 3368 // Append ".rc" to crate name as LLVM module identifier. |
I just took a look at this. Replacing ".rc" with ".rs" in the code section quoted by @jdm fixes the problem for me. |
Making a symbolic link say
|
I think I tracked this down to a wrong |
Great, thanks for fixing!
On a side note, can't print local variables:
|
Found this bug: |
It works with
Sorry for the noise. |
@alsam I just wanted to ask you that |
Great, thanks for clarification. It's much more useful with this extra debug info. |
small snippet called arg0.rs:
i.e. expects arg0.rc instead of arg0.rs
Thanks
The text was updated successfully, but these errors were encountered: