[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)
commit0c7c98a27d989d19848a22f97c1ad1ab8efa111e
tree5f34908c468e58dd94a803e5176f9745e9e88d3e
parent5e871d0b9c14eddbd7ad0fcc1a9790a525675d37
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230933 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
include/llvm/DebugInfo/PDB/PDBExtras.h
include/llvm/DebugInfo/PDB/PDBTypes.h
lib/DebugInfo/PDB/PDBExtras.cpp
test/DebugInfo/PDB/pdbdump-symbol-format.test
test/tools/llvm-pdbdump/Inputs/ClassLayoutTest.cpp [new file with mode: 0644]
test/tools/llvm-pdbdump/Inputs/ClassLayoutTest.pdb [new file with mode: 0644]
test/tools/llvm-pdbdump/class-layout.test [new file with mode: 0644]
test/tools/llvm-pdbdump/regex-filter.test
tools/llvm-pdbdump/BuiltinDumper.cpp
tools/llvm-pdbdump/ClassDefinitionDumper.cpp
tools/llvm-pdbdump/CompilandDumper.cpp
tools/llvm-pdbdump/FunctionDumper.cpp
tools/llvm-pdbdump/LinePrinter.cpp
tools/llvm-pdbdump/LinePrinter.h
tools/llvm-pdbdump/TypedefDumper.cpp
tools/llvm-pdbdump/VariableDumper.cpp
tools/llvm-pdbdump/llvm-pdbdump.cpp
tools/llvm-pdbdump/llvm-pdbdump.h