-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlA-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)
Description
Currently we do not emit any debuginfo from the MIR translator.
It doesn’t seem like there should be many issues implementing support, other than DebugLoc wanting a ast::NodeId, which eventually gets passed down to trans::debuginfo::metadata::scope_metadata.
Precondition to this work is to either decouple trans::debuginfo and its DIScope-building-related functionality from the NodeId or create a independent code for MIR’s use.
Metadata
Metadata
Assignees
Labels
A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlA-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)