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: Make DW_TAG_subroutine DIEs for inherent methods children of their self-type DIEs. #33358

Merged
merged 1 commit into from
May 20, 2016

Conversation

michaelwoerister
Copy link
Member

Fixes #33192

@rust-highfive
Copy link
Collaborator

r? @jroesch

(rust_highfive has picked a reviewer for you, use r? to override)

index: cx.tcx()
.def_key(instance.def)
.parent
.expect("get_namespace_and_span_for_item: missing parent?")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be get_containing_scope_and_span instead.

@bors
Copy link
Contributor

bors commented May 11, 2016

☔ The latest upstream changes (presumably #33425) made this pull request unmergeable. Please resolve the merge conflicts.

@michaelwoerister
Copy link
Member Author

Rebased and fixed the error kindly pointed out by @sanxiyn.

@eddyb
Copy link
Member

eddyb commented May 19, 2016

@bors r+

@bors
Copy link
Contributor

bors commented May 19, 2016

📌 Commit 499605c has been approved by eddyb

@bors
Copy link
Contributor

bors commented May 20, 2016

⌛ Testing commit 499605c with merge cde0fa5...

bors added a commit that referenced this pull request May 20, 2016
debuginfo: Make DW_TAG_subroutine DIEs for inherent methods children of their self-type DIEs.

Fixes #33192
@bors bors merged commit 499605c into rust-lang:master May 20, 2016
bors added a commit that referenced this pull request Aug 26, 2016
Do not emit "class method" debuginfo for types that are not DICompositeType.

Fixes #35991 by restricting the "class method" debuginfo sugar from #33358 to structs and enums only.

r? @michaelwoerister
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.

6 participants