You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We already hash the contents of SourceFiles 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 DIFiles, and I'm wondering if it could be useful in a similar way - perhaps debuggers would be able to detect changed sources?
Activity
bjorn3 commentedon Feb 10, 2020
Yes, that is the purpose of the hash, see DWARF5 section 6.2.4.1 opcode DW_LNCT_MD5.
Auto merge of rust-lang#69718 - arlosi:debughash, r=eddyb