[llvm-pdbdump] Add support for printing source files and compilands.
authorZachary Turner <zturner@google.com>
Wed, 28 Jan 2015 00:33:00 +0000 (00:33 +0000)
committerZachary Turner <zturner@google.com>
Wed, 28 Jan 2015 00:33:00 +0000 (00:33 +0000)
commit4287b94988a59ef7341af8a7eb4a71370c96ac9c
treec209b3ce616691f3fb84021bb289c64ae2a87a8f
parent2145a67c7c56ffe580ec6b7098cc0a437fd8f3e6
[llvm-pdbdump] Add support for printing source files and compilands.

This adds two command line options to llvm-pdbdump.

--source-files prints a flat list of all source files in the PDB.

--compilands prints a list of all compilands (e.g. object files)
             that the PDB knows about, and for each one, a list of
             source files that the compiland is composed of as well
             as a hash of the original source file.

llvm-svn: 227276
llvm/tools/llvm-pdbdump/DIAExtras.cpp
llvm/tools/llvm-pdbdump/DIAExtras.h
llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp