LLVM currently supports CSK_MD5 and CSK_SHA1 source file checksums in debug info. This change adds support for CSK_SHA256 checksums.
The SHA256 checksums are supported by the CodeView debug format.
Differential D75785
Add support for SHA256 source file checksums in debug info arlosi on Mar 6 2020, 4:22 PM. Authored by
Details LLVM currently supports CSK_MD5 and CSK_SHA1 source file checksums in debug info. This change adds support for CSK_SHA256 checksums. The SHA256 checksums are supported by the CodeView debug format.
Diff Detail Event TimelineComment Actions Sounds reasonable. One inline question about the test.
Comment Actions Renamed test to appropriate location; modified test to test to disassemble and reassemble again. Comment Actions The previous update contained only the requested changes commit, losing the rest of the change. |
Please move this to the /Assembler directory, rename it to dbg-checksum.ll, and make the RUN line:
RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis FileCheck %s