Consider emitting LLVM DIFile checksums. #68980
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
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?cc @michaelwoerister
The text was updated successfully, but these errors were encountered: