[PATCH] D19500: Parse and dump PDB DBI Stream Header Information

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 15:03:14 PDT 2016


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

The DBI stream contains a lot of bookkeeping information for other streams.  In particular it contains information about section contributions and linked modules.  This patch is a first attempt at parsing some of the information out of the DBI stream.  It currently only parses and dumps the headers of the DBI stream, so none of the module data or section contribution data is pulled out.  This is just a proof of concept that we understand the basic properties of the DBI stream's metadata, and followup patches will try to extract more detailed information out.

http://reviews.llvm.org/D19500

Files:
  include/llvm/DebugInfo/PDB/PDBExtras.h
  include/llvm/DebugInfo/PDB/Raw/PDBDbiStream.h
  include/llvm/DebugInfo/PDB/Raw/PDBFile.h
  include/llvm/DebugInfo/PDB/Raw/PDBInfoStream.h
  include/llvm/DebugInfo/PDB/Raw/PDBRawConstants.h
  lib/DebugInfo/PDB/CMakeLists.txt
  lib/DebugInfo/PDB/PDBExtras.cpp
  lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp
  lib/DebugInfo/PDB/Raw/PDBFile.cpp
  lib/DebugInfo/PDB/Raw/PDBInfoStream.cpp
  test/DebugInfo/PDB/pdbdump-headers.test
  tools/llvm-pdbdump/llvm-pdbdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19500.54917.patch
Type: text/x-patch
Size: 16123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160425/ee51e148/attachment.bin>


More information about the llvm-commits mailing list