-
-
Notifications
You must be signed in to change notification settings - Fork 609
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
Fix issue 21153 - DWARF: DMD emits the mangled name for DW_AT_name #11540
Conversation
|
Thanks for your pull request and interest in making D better, @Luhrel! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla references
Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + dmd#11540" |
|
Could you add a test case using |
Of course. |
Also add a bugzilla issue to the commit title. |
3097e4a to
aff93d7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As already requested please add a reference to a bugzilla entry please. Create it if required. This is just for the changelog.
prettyIdent instead of mangle name
If modules are implemented, you'll want to drop the |
Yes, but that's another bug 21155 |
aff93d7 to
5dd37c4
Compare
|
@MoonlightSentinel As I'll push a lot of DWARF fixes and enhancements, is there a good way to test all those things ? With |
You could add a
LDC/GDC already ignore certain dmd specific tests. Your changes don't affect them anyway? |
Yeah, gonna do this.
Yes, my changes only affects DMD. |
543d383 to
29866cf
Compare
aec4206 to
6066815
Compare
6066815 to
75230b4
Compare
|
Merde.
|
75230b4 to
8153677
Compare
8153677 to
86ea85c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM
86ea85c to
9c6c202
Compare
9c6c202 to
38bfe9a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Any objections on the dshell test @wilzbach ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see anything blocking it
38bfe9a to
e855919
Compare
As
gdbis intelligent,DW_AT_nameis automatically demangled, if necessary.So, this commit seems useless, however, for data consistency between
DW_AT_nameandDW_AT_linkage_name, this is necessary.There's still some DWARF issues with DMD (like the module name before the variable name, see below), but that's for another PR (coming soon).