]> granicus.if.org Git - llvm/commit
[pdb] Correctly parse the hash adjusters table from TPI stream.
authorZachary Turner <zturner@google.com>
Wed, 25 Jan 2017 21:17:40 +0000 (21:17 +0000)
committerZachary Turner <zturner@google.com>
Wed, 25 Jan 2017 21:17:40 +0000 (21:17 +0000)
commita74ee64df56672fcaedfb96fc46f09132bc4bfbc
tree79782dbeb60d09b5395ccbe75b045ccb40bab5ab
parentd1752d763fd0e8507cba140efff8619422b5ab33
[pdb] Correctly parse the hash adjusters table from TPI stream.

This is not a list of pairs, it is a hash table data structure. We now
correctly parse this out and dump it from llvm-pdbdump.

We still need to understand the conditions that lead to a type
getting an entry in the hash adjuster table.  That will be done
in a followup investigation / patch.

Differential Revision: https://reviews.llvm.org/D29090

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293090 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/PDB/Raw/TpiStream.h
lib/DebugInfo/PDB/Raw/TpiStream.cpp
test/DebugInfo/PDB/pdbdump-headers.test
tools/llvm-pdbdump/LLVMOutputStyle.cpp