[PATCH] D33323: [llvm-pdbdump] Add the ability to merge PDBs
Zachary Turner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 18 10:11:57 PDT 2017
zturner created this revision.
By adding a new `merge` subcommand, we can now give arbitrarily many PDBs to `llvm-pdbdump` as inputs and get back one PDB. Currently it only merges type streams and ignores everything else. In the future it can merge symbol streams, module information, and other types of stuff.
Having this command allows us to write a test for type merging, which is also done in this patch.
https://reviews.llvm.org/D33323
Files:
llvm/include/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h
llvm/lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp
llvm/test/DebugInfo/PDB/Inputs/merge1.yaml
llvm/test/DebugInfo/PDB/Inputs/merge2.yaml
llvm/test/DebugInfo/PDB/pdbdump-mergetypes.test
llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33323.99455.patch
Type: text/x-patch
Size: 9542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170518/38da992a/attachment.bin>
More information about the llvm-commits
mailing list