Parse PDB Name Hash Table
authorZachary Turner <zturner@google.com>
Mon, 2 May 2016 18:09:14 +0000 (18:09 +0000)
committerZachary Turner <zturner@google.com>
Mon, 2 May 2016 18:09:14 +0000 (18:09 +0000)
commit0eace0bae572f667dff0ba7d202f7e211d1b2625
tree813a7326b7348374f23ab02e1a05dcccb924742f
parent27233b727fb093efde9487180b61fee975442f72
Parse PDB Name Hash Table

PDB has a lot of similar data structures.  We already have code
for parsing a Name Map, but PDB seems to have a different but
very similar structure that is a hash table.  This is the
beginning of code needed in order to parse the name hash table,
but it is not yet complete.  It parses the basic metadata of
the hash table, the bucket array, and the names buffer, but
doesn't use any of these fields yet as the data structure
requires a non-trivial amount of work to understand.

llvm-svn: 268268
llvm/include/llvm/DebugInfo/PDB/Raw/ByteStream.h
llvm/include/llvm/DebugInfo/PDB/Raw/DbiStream.h
llvm/include/llvm/DebugInfo/PDB/Raw/NameHashTable.h [new file with mode: 0644]
llvm/include/llvm/DebugInfo/PDB/Raw/StreamReader.h
llvm/lib/DebugInfo/PDB/CMakeLists.txt
llvm/lib/DebugInfo/PDB/Raw/ByteStream.cpp
llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp
llvm/lib/DebugInfo/PDB/Raw/NameHashTable.cpp [new file with mode: 0644]
llvm/test/DebugInfo/PDB/pdbdump-headers.test
llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp