-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
extra namespace in DWARF on nightly #33193
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
Comments
sanxiyn
added
the
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
label
Apr 25, 2016
Yes, definitely seems like a regression. |
In case it matters I see this in beta as well. |
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
May 2, 2016
…ct-ns, r=eddyb debuginfo: Fix regression in namespace handling for struct types. Fixes a small regression that has been introduced in recent refactorings. Fixes rust-lang#33193 r? @eddyb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a test in our gdb work that has a unit-like struct:
This is in a crate named
simple
.In 1.8 this ended up as a struct
Unit
in a namespacesimple
; so in gdbprint
could easily displaysimple::Unit
, as that was the name of the type.In nightly there is an extra namespace:
... so now the type is named
simple::Unit::Unit
.I think the 1.8 behavior was preferable. I don't think the extra namespace serves a useful purpose.
The text was updated successfully, but these errors were encountered: