summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-extract/llvm-extract.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-06-09 00:10:19 +0000
committerRui Ueyama <ruiu@google.com>2016-06-09 00:10:19 +0000
commitc41cd6dcf7a01fdeb0a7a1bce74baffc3a813b73 (patch)
treeefc0ea4988ac882237167d4de05e7ba7c7adabe2 /llvm/tools/llvm-extract/llvm-extract.cpp
parent080241b75dcffddc07ea77151895fe2c6822aa9b (diff)
downloadbcm5719-llvm-c41cd6dcf7a01fdeb0a7a1bce74baffc3a813b73.tar.gz
bcm5719-llvm-c41cd6dcf7a01fdeb0a7a1bce74baffc3a813b73.zip
[pdbdump] Verify part of TPI hash streams.
TPI hash table contains a parallel array for the type records. For each type record R, a hash value is calculated by `H(R) % NumBuckets` where H is a hash function, and the result is stored to a bucket element. H is TPI1::hashPrec function in microsoft-pdb repository. Our hash function does not support all type record types yet. Currently it supports only records for line number. I'll extend it in a follow up patch. The aim of verify the hash table is not only detect corrupted files. It ensures that our understanding of how the hash values are calculated is correct. llvm-svn: 272229
Diffstat (limited to 'llvm/tools/llvm-extract/llvm-extract.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud