Skip to content
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

debuginfo: Properly support self passed by value. #11033

Merged
merged 2 commits into from
Dec 18, 2013

Conversation

michaelwoerister
Copy link
Member

As the title says. The trans changes will lead to an auxiliary alloca being created that allows debug info to track the self argument. This alloca is only created in debug builds however. Otherwise very little had to be done after I managed to navigate to some degree the jungle that is self-argument handling :P

Closes #10549

@jdm
Copy link
Contributor

jdm commented Dec 18, 2013

Awwww yeah. 🐦

bors added a commit that referenced this pull request Dec 18, 2013
As the title says. The trans changes will lead to an auxiliary alloca being created that allows debug info to track the `self` argument. This alloca is only created in debug builds however. Otherwise very little had to be done after I managed to navigate to some degree the jungle that is self-argument handling `:P` 

Closes #10549
@bors bors closed this Dec 18, 2013
@bors bors merged commit 01fae5f into rust-lang:master Dec 18, 2013
@michaelwoerister michaelwoerister deleted the byvalself branch February 7, 2022 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

by-value self arguments are not described properly in debug info
4 participants