]> granicus.if.org Git - clang/commit
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)
commit984e2eb52ce97eae001a28e54f36e624e98c12a7
treec4bbafe7c3c9deecb48f8bf958e4d1f32fc33293
parent71c0dcc129262e565069fbfc0b5239a05c94b86c
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167397 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/CompilerInvocation.cpp