-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Labels
A-debuginfoArea: Debugging information at runtime in generated code.Area: Debugging information at runtime in generated code.C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.good first issueGood for newcomersGood for newcomers
Description
The file hash can be used by a debugger to detect when the source file has changed after compilation.
This can be implemented by passing a FileInfo the right MD5 hash to LineProgram::new and line_program.add_file (here and here) and setting line_program.file_has_md5 to true. Also the DWARF version on platforms other than macOS needs to be changed to 5.
Blocked on rust-lang/rust#69718, which implements this for cg_llvm and adds a new src_hash field to SourceFile storing the MD5 hash.
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information at runtime in generated code.Area: Debugging information at runtime in generated code.C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.good first issueGood for newcomersGood for newcomers