Hashing: use 64-bit seed for hashing on all platforms.
authorTim Northover <tnorthover@apple.com>
Thu, 30 Aug 2018 20:28:32 +0000 (20:28 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 30 Aug 2018 20:28:32 +0000 (20:28 +0000)
commitc0445098519defc4bd13624095fac92977c9cfe4
tree543f7a6a9dc599ee9ecf414a4e1535eab1d47f78
parent20892fb4b04d1c066e41e5adac825a942244a5ec
Hashing: use 64-bit seed for hashing on all platforms.

get_execution_seed returns a size_t which varies across platforms, but its
users actually always feed it into a uint64_t role so it makes sense to be
consistent.

Mostly this is just a tidy-up, but it also apparently allows PCH files to be
shared between Clang compilers built for 32-bit and 64-bit hosts.

llvm-svn: 341113
llvm/include/llvm/ADT/Hashing.h
llvm/lib/Support/Hashing.cpp