Extend .file directive syntax to allow specifying an MD5 checksum for
the source file. Emit the checksums into DWARF v5 line tables.
We'll pass checksums from IR to AsmPrinter in a follow-up, and
after that get Clang to provide them in IR.
Paths
| Differential D41846
[DWARFv5] MC support for MD5 checksum ClosedPublic Authored by probinson on Jan 8 2018, 5:19 PM.
Details
Diff Detail Event TimelineHerald added subscribers: JDevlieghere, hiraditya, emaste. · View Herald TranscriptJan 8 2018, 5:19 PM Comment Actions Thanks, looks mostly good.
This revision is now accepted and ready to land.Jan 9 2018, 2:52 PM Comment Actions Committed in rL322134. (Forgot to put the Differential Revision tag in the commit message.)
Revision Contents
Diff 129164 llvm/include/llvm/MC/MCContext.h
llvm/include/llvm/MC/MCDwarf.h
llvm/include/llvm/MC/MCStreamer.h
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/lib/MC/MCAsmStreamer.cpp
llvm/lib/MC/MCContext.cpp
llvm/lib/MC/MCDwarf.cpp
llvm/lib/MC/MCParser/AsmParser.cpp
llvm/lib/MC/MCStreamer.cpp
llvm/test/MC/ELF/debug-md5-err.s
llvm/test/MC/ELF/debug-md5.s
|
Optional<MD5::MD5Result>?