Skip to content

Commit

Permalink
Auto merge of rust-lang#93006 - michaelwoerister:fix-unsized-ptr-debu…
Browse files Browse the repository at this point in the history
…ginfo, 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
bors committed Jan 28, 2022
2 parents e0e70c0 + c10f9e7 commit 427eba2
Show file tree
Hide file tree
Showing 4 changed files with 300 additions and 210 deletions.
Loading

0 comments on commit 427eba2

Please sign in to comment.