[PATCH] D19570: [PDB] Parse module information from the DBI stream

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 16:41:41 PDT 2016


zturner created this revision.
zturner added a reviewer: ruiu.
zturner added a subscriber: llvm-commits.

With this patch we extract basic module information from the PDB file.  A module is what is referred to in the DIA SDK and DebugInfoPDB as a "compiland".  So we are essentially enumerating all compilands and dumping some of their metadata.  In particular we get the compiland name and contributing object files, as well as various indices that will point at more detailed symbol and type information to be used in subsequent patches.

With this, we are close to being able to implement `PDBSymbolExe` and `PDBSymbolCompiland` in terms of the raw interface.

http://reviews.llvm.org/D19570

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19570.55126.patch
Type: text/x-patch
Size: 13054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160426/9a5eb6bf/attachment.bin>


More information about the llvm-commits mailing list