[llvm-pdbdump] Add an option to dump full class definitions.
authorZachary Turner <zturner@google.com>
Mon, 23 Feb 2015 05:58:34 +0000 (05:58 +0000)
committerZachary Turner <zturner@google.com>
Mon, 23 Feb 2015 05:58:34 +0000 (05:58 +0000)
commit92d755ea659704476da1e2aaa6ebb5c153ac0f93
tree2172b8670b7fdcf571ef7a5c85e7a5943579095f
parent053ae4ce17cd419a6b2df11837ffc6a34431248c
[llvm-pdbdump] Add an option to dump full class definitions.

This adds the --class-definitions flag.  If specified, when dumping
types, instead of "class Foo" you will see the full class definition,
with member functions, constructors, access specifiers.

NOTE: Using this option can be very slow, as generating a full class
definition requires accessing many different parts of the PDB.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230203 91177308-0d34-0410-b5e6-96231b3b80d8
28 files changed:
include/llvm/DebugInfo/PDB/PDBSymbol.h
include/llvm/DebugInfo/PDB/PDBSymbolData.h
include/llvm/DebugInfo/PDB/PDBSymbolFunc.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h
include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h
include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h
lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp
lib/DebugInfo/PDB/PDBSymbolData.cpp
lib/DebugInfo/PDB/PDBSymbolFunc.cpp
lib/DebugInfo/PDB/PDBSymbolTypeArray.cpp
lib/DebugInfo/PDB/PDBSymbolTypePointer.cpp
test/DebugInfo/PDB/Inputs/symbolformat.cpp
test/DebugInfo/PDB/Inputs/symbolformat.pdb
test/DebugInfo/PDB/pdbdump-symbol-format.test
tools/llvm-pdbdump/CMakeLists.txt
tools/llvm-pdbdump/ClassDefinitionDumper.cpp [new file with mode: 0644]
tools/llvm-pdbdump/ClassDefinitionDumper.h [new file with mode: 0644]
tools/llvm-pdbdump/CompilandDumper.cpp
tools/llvm-pdbdump/FunctionDumper.cpp
tools/llvm-pdbdump/FunctionDumper.h
tools/llvm-pdbdump/TypeDumper.cpp
tools/llvm-pdbdump/TypeDumper.h
tools/llvm-pdbdump/TypedefDumper.cpp
tools/llvm-pdbdump/VariableDumper.cpp [new file with mode: 0644]
tools/llvm-pdbdump/VariableDumper.h [new file with mode: 0644]
tools/llvm-pdbdump/llvm-pdbdump.cpp