4

Fix debuginfo for pointers/references to unsized types by michaelwoerister · Pul...

 2 years ago
source link: https://github.com/rust-lang/rust/pull/93006
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Copy link

Member

michaelwoerister commented on Jan 17

edited

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 #92718

Blocked on #92729.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK