Add support for computing SHA1 in LLVM

Description

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>

Details

Committed
mehdi_aminiMar 31 2016, 6:29 PM
Parents
rL265093: Revert "Protect some assertions with NDEBUG rather than DEBUG()."
Branches
Unknown
Tags
Unknown