summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Hashing.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Hashing: use 64-bit seed for hashing on all platforms.Tim Northover2018-08-301-2/+2
| | | | | | | | | | | 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
* Add the source file with trivial definitions in it that was missing fromChandler Carruth2012-03-011-0/+29
| | | | | | | | r151822, sorry sorry. =[ We need 'git svn nothave' or some such... llvm-svn: 151824
* The implementation of GeneralHash::addBits broke C++ aliasing rules; fixJay Foad2012-02-231-46/+0
| | | | | | | | it with memcpy. This also fixes a problem on big-endian hosts, where addUnaligned would return different results depending on the alignment of the data. llvm-svn: 151247
* Fix issue with bitwise and precedence.Ahmed Charles2012-02-181-1/+1
| | | | llvm-svn: 150897
* Hashing.h - utilities for hashing various data types.Talin2012-02-181-0/+46
llvm-svn: 150890
OpenPOWER on IntegriCloud