OSDN Git Service

Add a module Hash in the bitcode and the combined index, implementing a kind of ...
authorMehdi Amini <mehdi.amini@apple.com>
Fri, 1 Apr 2016 01:30:06 +0000 (01:30 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Fri, 1 Apr 2016 01:30:06 +0000 (01:30 +0000)
commit515396cd385e1d295bc842f106b10e236014ead0
tree62336a21b772a19e33d0a3d0a9ec8ea1145006fb
parent696fe5298581dee2b92d48573551689a26280c04
Add a module Hash in the bitcode and the combined index, implementing a kind of "build-id"

This is intended to be used for ThinLTO incremental build.

Differential Revision: http://reviews.llvm.org/D18213

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265095 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/BitstreamReader.h
include/llvm/Bitcode/LLVMBitCodes.h
include/llvm/Bitcode/ReaderWriter.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 [new file with mode: 0644]
tools/llvm-as/llvm-as.cpp
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp