Skip to content

Consider emitting LLVM DIFile checksums. #68980

Closed
@eddyb

Description

@eddyb

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?

cc @michaelwoerister

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions