[llvm-pdbdump] Many minor fixes and improvements
authorZachary Turner <zturner@google.com>
Mon, 2 Mar 2015 04:39:56 +0000 (04:39 +0000)
committerZachary Turner <zturner@google.com>
Mon, 2 Mar 2015 04:39:56 +0000 (04:39 +0000)
commit7797c726b9a864372553de4b640c540b1dae8251
tree655a6b62386ef5b43759a072b66b3d588fea3ba1
parent968ceddca9a80197db8c785faf80fa9fc44ef7cd
[llvm-pdbdump] Many minor fixes and improvements

A short list of some of the improvements:

1) Now supports -all command line argument, which implies many
   other command line arguments to simplify usage.
2) Now supports -no-compiler-generated command line argument to
   exclude compiler generated types.
3) Prints base class list.
4) -class-definitions implies -types.
5) Proper display of bitfields.
6) Can now distinguish between struct/class/interface/union.

And a few other minor tweaks.

llvm-svn: 230933
18 files changed:
llvm/include/llvm/DebugInfo/PDB/PDBExtras.h
llvm/include/llvm/DebugInfo/PDB/PDBTypes.h
llvm/lib/DebugInfo/PDB/PDBExtras.cpp
llvm/test/DebugInfo/PDB/pdbdump-symbol-format.test
llvm/test/tools/llvm-pdbdump/Inputs/ClassLayoutTest.cpp [new file with mode: 0644]
llvm/test/tools/llvm-pdbdump/Inputs/ClassLayoutTest.pdb [new file with mode: 0644]
llvm/test/tools/llvm-pdbdump/class-layout.test [new file with mode: 0644]
llvm/test/tools/llvm-pdbdump/regex-filter.test
llvm/tools/llvm-pdbdump/BuiltinDumper.cpp
llvm/tools/llvm-pdbdump/ClassDefinitionDumper.cpp
llvm/tools/llvm-pdbdump/CompilandDumper.cpp
llvm/tools/llvm-pdbdump/FunctionDumper.cpp
llvm/tools/llvm-pdbdump/LinePrinter.cpp
llvm/tools/llvm-pdbdump/LinePrinter.h
llvm/tools/llvm-pdbdump/TypedefDumper.cpp
llvm/tools/llvm-pdbdump/VariableDumper.cpp
llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp
llvm/tools/llvm-pdbdump/llvm-pdbdump.h