[PATCH] D41846: [DWARFv5] MC support for MD5 checksum

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 17:19:43 PST 2018


probinson created this revision.
probinson added reviewers: dblaikie, aprantl, rnk.
probinson added a project: debug-info.
Herald added subscribers: JDevlieghere, hiraditya, emaste.

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.


https://reviews.llvm.org/D41846

Files:
  llvm/include/llvm/MC/MCContext.h
  llvm/include/llvm/MC/MCDwarf.h
  llvm/include/llvm/MC/MCStreamer.h
  llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
  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.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41846.129014.patch
Type: text/x-patch
Size: 20330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180109/0bb80f43/attachment-0001.bin>


More information about the llvm-commits mailing list