Hash the various compiler version, target, preprocessor, and
authorDouglas Gregor <dgregor@apple.com>
Mon, 5 Nov 2012 19:45:09 +0000 (19:45 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 5 Nov 2012 19:45:09 +0000 (19:45 +0000)
commit7fd0849bc3a931f645c352add2bbff91e04ba8b9
tree22a191c8a113d42f52a1c5be9d9ea95efb9b1e36
parent339d0597d37c4ec256862007dd1d3079448e7b51
Hash the various compiler version, target, preprocessor, and
header-search options into the module hash. We're just using
ADT/Hashing.hpp for this, which isn't as cryptographically strong as
I'd like, but it'll do. If someone contributes (say) and MD4
implementation, we'd happily switch to that.

llvm-svn: 167397
clang/lib/Frontend/CompilerInvocation.cpp