6050e523ba
Add hash of source files in debug info LLVM supports placing the hash of source files inside the debug info. This information can be used by a debugger to verify that the source code matches the executable. This change adds support for both hash algorithms supported by LLVM, MD5 and SHA1, controlled by a target option. * DWARF only supports MD5 * LLVM IR supports MD5 and SHA1 (and SHA256 in LLVM 11). * CodeView (.PDB) supports MD5, SHA1, and SHA256. Fixes #68980. Tracking issue: #70401 rustc dev guide PR with further details: https://github.com/rust-lang/rustc-dev-guide/pull/623 |
||
---|---|---|
.. | ||
lint | ||
Cargo.toml | ||
cgu_reuse_tracker.rs | ||
code_stats.rs | ||
config.rs | ||
filesearch.rs | ||
lib.rs | ||
lint.rs | ||
options.rs | ||
output.rs | ||
parse.rs | ||
search_paths.rs | ||
session.rs | ||
utils.rs |