Read the rest of the DBI substreams, and parse source info.
authorZachary Turner <zturner@google.com>
Thu, 28 Apr 2016 20:05:18 +0000 (20:05 +0000)
committerZachary Turner <zturner@google.com>
Thu, 28 Apr 2016 20:05:18 +0000 (20:05 +0000)
commit84c3a8ba3dfcb0771ea6bbbd3bbb53e7b0e8d1a3
tree130494607307d5766111fd055cc96440cedb7dfe
parent7a1a9e01ad54cf12e53f0fa228784bf2c04f0811
Read the rest of the DBI substreams, and parse source info.

We now read out the rest of the substreams from the DBI streams.  One of
these substreams, the FileInfo substream, contains information about which
source files contribute to each module (aka compiland).  This patch
additionally parses out the file information from that substream, and
dumps it in llvm-pdbdump.

Differential Revision: http://reviews.llvm.org/D19634
Reviewed by: ruiu

llvm-svn: 267928
llvm/include/llvm/DebugInfo/PDB/Raw/ModInfo.h
llvm/include/llvm/DebugInfo/PDB/Raw/PDBDbiStream.h
llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp
llvm/test/DebugInfo/PDB/pdbdump-headers.test
llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp