[cfe-commits] r167397 - /cfe/trunk/lib/Frontend/CompilerInvocation.cpp

Douglas Gregor dgregor at apple.com
Mon Nov 5 16:02:47 PST 2012


On Nov 5, 2012, at 3:58 PM, Matt Beaumont-Gay <matthewbg at google.com> wrote:

> On Mon, Nov 5, 2012 at 11:45 AM, Douglas Gregor <dgregor at apple.com> wrote:
>> Author: dgregor
>> Date: Mon Nov  5 13:45:09 2012
>> New Revision: 167397
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=167397&view=rev
>> Log:
>> 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.
> 
> Why do you want a cryptographic hash here?


Simply because I don't trust that the existing hashes won't produce conflicts.

	- Doug



More information about the cfe-commits mailing list