[PATCH] D19897: Use ScopedPrinter in llvm-pdbdump
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 18:56:28 PDT 2016
zturner created this revision.
zturner added a reviewer: rnk.
zturner added a subscriber: llvm-commits.
When printing raw PDB file fields, streams, and records, use the `ScopedPrinter` class so we have consistency with `llvm-readobj`'s output format.
For the most part this is pretty mechanical, but I had to fix up the test file to conform to the new YAMLesque output format. i added a few additional helper functions to the `ScopedPrinter` such as one to print a dotted version, etc.
http://reviews.llvm.org/D19897
Files:
include/llvm/Support/ScopedPrinter.h
test/DebugInfo/PDB/pdbdump-headers.test
tools/llvm-pdbdump/llvm-pdbdump.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19897.56086.patch
Type: text/x-patch
Size: 130022 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160504/71bb4d5e/attachment.bin>
More information about the llvm-commits
mailing list