[PATCH] D18213: Add a module Hash in the bitcode and the combined index.

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 21 11:25:34 PDT 2016


joker.eph updated this revision to Diff 51197.
joker.eph added a comment.
Herald added a subscriber: joker.eph.

Insert the full 160bits of the SHA1 in the bitcode. Also add a unittests.


http://reviews.llvm.org/D18213

Files:
  include/llvm/Bitcode/BitstreamWriter.h
  include/llvm/Bitcode/LLVMBitCodes.h
  include/llvm/IR/ModuleSummaryIndex.h
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/IR/ModuleSummaryIndex.cpp
  lib/Transforms/IPO/FunctionImport.cpp
  test/Bitcode/module_hash.ll
  tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
  tools/llvm-lto/llvm-lto.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18213.51197.patch
Type: text/x-patch
Size: 19459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160321/3584f6c7/attachment.bin>


More information about the llvm-commits mailing list