We are going to use the hash functions from TPI streams.
Details
Diff Detail
Event Timeline
There is also SigForPbCb in Microsoft headers. I haven't ported this one over yet, and I don't know the details about when each particular function is used.
If possible, could you add a comment over each function in Hash.h that briefly documents the situations in which that particular is used? i.e. what types of records, Tpi Stream version, etc. We can improve the comments as we learn more, but it would be nice for someone to look at the header file and have a general idea of why there are so many different hash functions.
Added brief comments about where these hash functions are used.
But I think it is better to describe how they are used where they
are used (instead of where the hash functions are defined,) so
it's not that long comments.
Hi Rui.
This patch breaks the LLVM build on Windows. For example:
http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/builds/12912
Seems the new Hash.cpp and Hash.h need <cstdint>.
Regards,
Christof
llvm/trunk/include/llvm/DebugInfo/PDB/Raw/Hash.h | ||
---|---|---|
14 ↗ | (On Diff #60113) | This patch broke the build, please add this line to fix it: |
size_t ?