summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/ModuleSummaryIndex.cpp
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-04-01 04:30:16 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-04-01 04:30:16 +0000
commit4cd57025781a463a8c07e8fdeccc632033c4f77f (patch)
treeef5850c1189f1ce036dee46058125ab91dc19f1b /llvm/lib/IR/ModuleSummaryIndex.cpp
parent3de5ef96c93943af6154eeeccad2d7774343e97f (diff)
downloadbcm5719-llvm-4cd57025781a463a8c07e8fdeccc632033c4f77f.tar.gz
bcm5719-llvm-4cd57025781a463a8c07e8fdeccc632033c4f77f.zip
Add support for computing SHA1 in LLVM
Provide a class to generate a SHA1 from a sequence of bytes, and a convenience raw_ostream adaptor. This will be used to provide a "build-id" by hashing the Module block when writing bitcode. ThinLTO will use this information for incremental build. Reapply r265094 which was reverted in r265102 because it broke MSVC bots (constexpr is not supported). http://reviews.llvm.org/D16325 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 265107
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud