David Majnemer
bd807b784e
[PDB] Don't use the long type
...
Long is not the same size across a number of the platforms we support.
Use unsigned int here instead, it is more appropriate because
overflow/wrap-around is possible and, in this case, expected.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290068 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-18 20:10:50 +00:00
David Majnemer
3ce578abed
[PDB] Don't reimplement CRC32
...
We already have a CRC32 implementation which is compatible with the PDB
hash, reuse it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290054 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-18 00:41:15 +00:00
Rui Ueyama
a3568c118e
Implement pdb::hashBufferV8 hash function.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272894 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-16 13:48:16 +00:00
Rui Ueyama
45d1685851
Function names should start with lowercase letters.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272225 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-08 23:15:09 +00:00
Rui Ueyama
dc32f35c68
[PDB] Move PDB functions to a separate file.
...
We are going to use the hash functions from TPI streams.
Differential Revision: http://reviews.llvm.org/D21142
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272223 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-08 23:11:14 +00:00