]> granicus.if.org Git - llvm/commit
[llvm-pdbdump] Allow pretty to only dump specific types of types.
authorZachary Turner <zturner@google.com>
Thu, 6 Apr 2017 23:43:12 +0000 (23:43 +0000)
committerZachary Turner <zturner@google.com>
Thu, 6 Apr 2017 23:43:12 +0000 (23:43 +0000)
commitdbbede1ea28f552a7a27f7079ebd18f308158b28
tree3a109152009b8d418ad8da73b483446b73d710bb
parent4d40c977964d032789bc4a92aaf6886811874dca
[llvm-pdbdump] Allow pretty to only dump specific types of types.

Previously we just had the -types option, which would dump all
classes, typedefs, and enums.  But this produces a lot of output
if you only want to view classes, for example.  This patch breaks
this down into 3 additional options, -classes, -enums, and
-typedefs, and keeps the -types option around which implies all
3 more specific options.

Differential Revision: https://reviews.llvm.org/D31791

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299732 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-pdbdump/PrettyTypeDumper.cpp
tools/llvm-pdbdump/llvm-pdbdump.cpp
tools/llvm-pdbdump/llvm-pdbdump.h