[pdb] Print out some more info when dumping a raw stream.
authorZachary Turner <zturner@google.com>
Fri, 9 Sep 2016 19:00:49 +0000 (19:00 +0000)
committerZachary Turner <zturner@google.com>
Fri, 9 Sep 2016 19:00:49 +0000 (19:00 +0000)
commit36efbfa6d81b3d15144bb2d5683f654a6b4246d4
tree6c250f111c6d63136bc7b2983479523bcb5f1d77
parentc236e5a0f1b9b8118428bec5a7adf3e3efc86cf1
[pdb] Print out some more info when dumping a raw stream.

We have various command line options that print the type of a
stream, the size of a stream, etc but nowhere that it can all be
viewed together.

Since a previous patch introduced the ability to dump the bytes
of a stream, this seems like a good place to present a full view
of the stream's properties including its size, what kind of data
it represents, and the blocks it occupies.  So I added the
ability to print that information to the -stream-data command
line option.

llvm-svn: 281077
llvm/lib/DebugInfo/MSF/MappedBlockStream.cpp
llvm/test/DebugInfo/PDB/pdbdump-raw-stream.test
llvm/tools/llvm-pdbdump/LLVMOutputStyle.cpp
llvm/tools/llvm-pdbdump/LLVMOutputStyle.h