Following recent changes switching from xxh64 to xxh32 for better
hashing performance (e.g., D154813). I am not familiar with this use
case, but this change will ensure that the lld executable doesn't need
xxHash64 after wasm-ld migrates.
return Tombstone;
}
static unsigned getHashValue(const CVSymbol &Val) {
- return xxHash64(Val.RecordData);
+ return xxh3_64bits(Val.RecordData);
}
static bool isEqual(const CVSymbol &LHS, const CVSymbol &RHS) {
return LHS.RecordData == RHS.RecordData;
if (Info->hashPDBContentsToGUID()) {
// Compute a hash of all sections of the output file.
uint64_t Digest =
- xxHash64({Buffer.getBufferStart(), Buffer.getBufferEnd()});
+ xxh3_64bits({Buffer.getBufferStart(), Buffer.getBufferEnd()});
H->Age = 1;