[PATCH] D19840: Parse and dump PDB TPI Stream

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 16:08:27 PDT 2016


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

This parses the TPI stream (stream 2) from the PDB file.  This stream contains some header information followed by a series of codeview records.  There is some additional complexity here in that alongside this stream of codeview records is a serialized hash table in order to efficiently query the types.  We parse the necessary bookkeeping information to allow us to reconstruct the hash table, but we do not actually construct it yet as there is some additional complexity that needs to be understood before that is possible.

http://reviews.llvm.org/D19840

Files:
  include/llvm/DebugInfo/PDB/Raw/ByteStream.h
  include/llvm/DebugInfo/PDB/Raw/MappedBlockStream.h
  include/llvm/DebugInfo/PDB/Raw/PDBFile.h
  include/llvm/DebugInfo/PDB/Raw/RawConstants.h
  include/llvm/DebugInfo/PDB/Raw/StreamInterface.h
  include/llvm/DebugInfo/PDB/Raw/StreamReader.h
  include/llvm/DebugInfo/PDB/Raw/TpiStream.h
  lib/DebugInfo/PDB/CMakeLists.txt
  lib/DebugInfo/PDB/Raw/ByteStream.cpp
  lib/DebugInfo/PDB/Raw/MappedBlockStream.cpp
  lib/DebugInfo/PDB/Raw/PDBFile.cpp
  lib/DebugInfo/PDB/Raw/StreamReader.cpp
  lib/DebugInfo/PDB/Raw/TpiStream.cpp
  test/DebugInfo/PDB/pdbdump-headers.test
  tools/llvm-pdbdump/llvm-pdbdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19840.55908.patch
Type: text/x-patch
Size: 15634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160502/1ecf7abf/attachment.bin>


More information about the llvm-commits mailing list