[llvm-pdbdump] Display full enum definitions.
authorZachary Turner <zturner@google.com>
Wed, 4 Mar 2015 06:09:53 +0000 (06:09 +0000)
committerZachary Turner <zturner@google.com>
Wed, 4 Mar 2015 06:09:53 +0000 (06:09 +0000)
commit653236596af12b89fd3701f86b160a850ddcff21
tree189942c606d6e482acf91a3e87e215cca748b31e
parent90746340029f43ac3bfd53a08175b92082e26cfd
[llvm-pdbdump] Display full enum definitions.

This will now display enum definitions both at the global
scope as well as nested inside of classes.  Additionally,
it will no longer display enums at the global scope if the
enum is nested.  Instead, it will omit the definition of
the enum globally and instead emit it in the corresponding
class definition.

llvm-svn: 231215
15 files changed:
llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h
llvm/lib/DebugInfo/PDB/PDBExtras.cpp
llvm/lib/DebugInfo/PDB/PDBSymbolTypeEnum.cpp
llvm/test/DebugInfo/PDB/pdbdump-symbol-format.test
llvm/test/tools/llvm-pdbdump/enum-layout.test [new file with mode: 0644]
llvm/test/tools/llvm-pdbdump/regex-filter.test
llvm/tools/llvm-pdbdump/CMakeLists.txt
llvm/tools/llvm-pdbdump/ClassDefinitionDumper.cpp
llvm/tools/llvm-pdbdump/EnumDumper.cpp [new file with mode: 0644]
llvm/tools/llvm-pdbdump/EnumDumper.h [new file with mode: 0644]
llvm/tools/llvm-pdbdump/TypeDumper.cpp
llvm/tools/llvm-pdbdump/TypeDumper.h
llvm/tools/llvm-pdbdump/VariableDumper.cpp
llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp
llvm/tools/llvm-pdbdump/llvm-pdbdump.h