[PATCH] D19731: Parse PDB Name Hash Table

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 11:13:22 PDT 2016


zturner created this revision.
zturner added reviewers: ruiu, majnemer.
zturner added a subscriber: llvm-commits.

    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.

    The parsing code here corresponds to the `NMT` data structure in
    the reference implementation, while `NameMap` corresponds to
    the `NMTNI` data structure.

http://reviews.llvm.org/D19731

Files:
  include/llvm/DebugInfo/PDB/Raw/DbiStream.h
  include/llvm/DebugInfo/PDB/Raw/NameHashTable.h
  include/llvm/DebugInfo/PDB/Raw/StreamReader.h
  lib/DebugInfo/PDB/CMakeLists.txt
  lib/DebugInfo/PDB/Raw/DbiStream.cpp
  lib/DebugInfo/PDB/Raw/NameHashTable.cpp
  tools/llvm-pdbdump/llvm-pdbdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19731.55630.patch
Type: text/x-patch
Size: 7800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160429/6e197f63/attachment.bin>


More information about the llvm-commits mailing list