OSDN Git Service

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)
commit0e6ef97ce04db611f544c2b5e219568180523f7a
treecddad56169a48c2b76da43c524abd7d2deb4fd8b
parentc6d991c3a5249af44cd9b65f58bbfcf56bb01895
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268268 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/PDB/Raw/ByteStream.h
include/llvm/DebugInfo/PDB/Raw/DbiStream.h
include/llvm/DebugInfo/PDB/Raw/NameHashTable.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/Raw/StreamReader.h
lib/DebugInfo/PDB/CMakeLists.txt
lib/DebugInfo/PDB/Raw/ByteStream.cpp
lib/DebugInfo/PDB/Raw/DbiStream.cpp
lib/DebugInfo/PDB/Raw/NameHashTable.cpp [new file with mode: 0644]
test/DebugInfo/PDB/pdbdump-headers.test
tools/llvm-pdbdump/llvm-pdbdump.cpp