This is an archive of the discontinued LLVM Phabricator instance.

[DWARFv5] Enable MD5 checksums
ClosedPublic

Authored by probinson on Jan 12 2018, 2:12 PM.

Details

Summary

Under -gdwarf-5 generate MD5 checksums of source files to emit to the DWARF v5 line table.

This consumes 16 bytes per source file in the line table, but allows a debugger to verify that
the source file hasn't changed since build time, which Clang has never allowed before.

Diff Detail

Repository
rC Clang

Event Timeline

probinson created this revision.Jan 12 2018, 2:12 PM
aprantl accepted this revision.Jan 12 2018, 2:15 PM
This revision is now accepted and ready to land.Jan 12 2018, 2:15 PM
This revision was automatically updated to reflect the committed changes.
This revision was automatically updated to reflect the committed changes.