[PATCH] D18213: Add a module Hash in the bitcode and the combined index.
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 16 13:51:21 PDT 2016
joker.eph added inline comments.
================
Comment at: lib/Bitcode/Writer/BitcodeWriter.cpp:3200
@@ +3199,3 @@
+ auto SHA1 = Stream.getCurrentHash();
+ unsigned Hash = hash_combine_range(&*SHA1.begin(), &*SHA1.end());
+
----------------
rafael wrote:
> This produces different results in 32 and 64 bit machines, no?
Uh, dunno, is it a property of hash_combine_range?
http://reviews.llvm.org/D18213
More information about the llvm-commits
mailing list