commit | 696fe5298581dee2b92d48573551689a26280c04 | [log] [tgz] |
---|---|---|
author | Mehdi Amini <mehdi.amini@apple.com> | Fri Apr 01 01:29:54 2016 +0000 |
committer | Mehdi Amini <mehdi.amini@apple.com> | Fri Apr 01 01:29:54 2016 +0000 |
tree | 8565f836836854b90459b1261cf45ac28303dc64 | |
parent | 7effb555cc8f70504ca1b77e779bda5a07b9eec1 [diff] |
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. From: Mehdi Amini <mehdi.amini@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265094 91177308-0d34-0410-b5e6-96231b3b80d8