Skip to content

Commit

Permalink
Rollup merge of rust-lang#93006 - michaelwoerister:fix-unsized-ptr-de…
Browse files Browse the repository at this point in the history
…buginfo, r=davidtwco,oli-obk

Fix debuginfo for pointers/references to unsized types

This PR makes the compiler emit fat pointer debuginfo in all cases. Before, we sometimes got thin-pointer debuginfo, making it impossible to fully interpret the pointed to memory in debuggers. The code is actually cleaner now, especially around generation of trait object pointer debuginfo.

Fixes rust-lang#92718

~~Blocked on rust-lang#92729
  • Loading branch information
matthiaskrgr authored Jan 22, 2022
2 parents c8be801 + 89f6778 commit 9681796
Show file tree
Hide file tree
Showing 5 changed files with 283 additions and 191 deletions.
Loading

0 comments on commit 9681796

Please sign in to comment.