Skip to content

Commit

Permalink
Rollup merge of #93503 - michaelwoerister:fix-vtable-holder-debuginfo…
Browse files Browse the repository at this point in the history
…-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 #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 #93164.
~~The PR is blocked on #93154 because both of them modify the `codegen/debug-vtable.rs` test case.~~
  • Loading branch information
matthiaskrgr authored Feb 9, 2022
2 parents 3f4aaf4 + ed21805 commit 6d40850
Show file tree
Hide file tree
Showing 4 changed files with 214 additions and 63 deletions.
Loading

0 comments on commit 6d40850

Please sign in to comment.