Skip to content

Commit

Permalink
Rollup merge of rust-lang#93503 - michaelwoerister:fix-vtable-holder-…
Browse files Browse the repository at this point in the history
…debuginfo-regression, r=wesleywiser

debuginfo: Fix DW_AT_containing_type vtable debuginfo regression

This PR brings back the `DW_AT_containing_type` attribute for vtables after it has accidentally been removed in rust-lang#89597.

It also implements a more accurate description of vtables. Instead of describing them as an array of void pointers, the compiler will now emit a struct type description with a field for each entry of the vtable.

r? `@wesleywiser`

This PR should fix issue rust-lang#93164.
~~The PR is blocked on rust-lang#93154 because both of them modify the `codegen/debug-vtable.rs` test case.~~
  • Loading branch information
matthiaskrgr authored Feb 9, 2022
2 parents 93da8ca + ed21805 commit f437190
Show file tree
Hide file tree
Showing 4 changed files with 214 additions and 63 deletions.
Loading

0 comments on commit f437190

Please sign in to comment.