[all-commits] [llvm/llvm-project] 088918: Tweak SimpleFastHash
Aaron via All-commits
all-commits at lists.llvm.org
Thu Apr 1 23:26:53 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0889181625bb570e463362ab8f53f9a14c886b2e
https://github.com/llvm/llvm-project/commit/0889181625bb570e463362ab8f53f9a14c886b2e
Author: Aaron Green <aarongreen at google.com>
Date: 2021-04-01 (Thu, 01 Apr 2021)
Changed paths:
M compiler-rt/lib/fuzzer/FuzzerTracePC.h
M compiler-rt/lib/fuzzer/FuzzerUtil.cpp
M compiler-rt/lib/fuzzer/FuzzerUtil.h
Log Message:
-----------
Tweak SimpleFastHash
This change adds a SimpleFastHash64 variant of SimpleFastHash which allows call sites to specify a starting value and get a 64 bit hash in return. This allows a hash to be "resumed" with more data.
A later patch needs this to be able to hash a sequence of module-relative values one at a time, rather than just a region a memory.
Reviewed By: morehouse
Differential Revision: https://reviews.llvm.org/D94510
More information about the All-commits
mailing list