[PATCH] D31105: [Support] Add a function to MD5 a file's contents.

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 17 14:18:14 PDT 2017


zturner created this revision.
Herald added a subscriber: mehdi_amini.

  In doing so, clean up the MD5 interface a little.  Most
  existing users only care about the lower 8 bytes of an MD5,
  but for some users that care about the upper and lower,
  there wasn't a good interface.  Furthermore, consumers
  of the MD5 checksum were required to handle endianness
  details on their own, so it seems reasonable to abstract
  this into a nicer interface that just gives you the right
  value.


https://reviews.llvm.org/D31105

Files:
  clang/lib/CodeGen/CodeGenPGO.cpp
  clang/lib/Frontend/ASTUnit.cpp
  lld/COFF/Writer.cpp
  lldb/source/Host/common/FileSystem.cpp
  lldb/source/Utility/DataExtractor.cpp
  llvm/include/llvm/Support/FileSystem.h
  llvm/include/llvm/Support/MD5.h
  llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/lib/Support/MD5.cpp
  llvm/lib/Support/Path.cpp
  llvm/unittests/Support/MD5Test.cpp
  llvm/unittests/Support/Path.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31105.92206.patch
Type: text/x-patch
Size: 11185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170317/7e25d8b5/attachment.bin>


More information about the llvm-commits mailing list