Closed
Description
We already hash the contents of SourceFile
s to determine whether the file on disk (if it even exists) still has the same contents, across crates.
I came across LLVM supporting MD5 and SHA1 checksums for DIFile
s, and I'm wondering if it could be useful in a similar way - perhaps debuggers would be able to detect changed sources?
Metadata
Metadata
Assignees
Labels
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Debugging information in compiled programs (DWARF, PDB, etc.)Category: An issue proposing an enhancement or a PR with one.Relevant to the compiler team, which will review and decide on the PR/issue.