llvm-project/llvm/lib/DebugInfo
Rui Ueyama c41cd6dcf7 [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
2016-06-09 00:10:19 +00:00
..
CodeView [CodeView] Fix a busted assert in TypeTableBuilder::writeClass 2016-06-04 15:40:31 +00:00
DWARF Apply clang-tidy's misc-move-constructor-init throughout LLVM. 2016-05-27 14:27:24 +00:00
PDB [pdbdump] Verify part of TPI hash streams. 2016-06-09 00:10:19 +00:00
Symbolize Apply most suggestions of clang-tidy's performance-unnecessary-value-param 2016-06-08 19:09:22 +00:00
CMakeLists.txt LLVM CodeView library 2015-12-24 18:12:38 +00:00
LLVMBuild.txt LLVM CodeView library 2015-12-24 18:12:38 +00:00