llvm-pdbdump: Only dump whitelisted global symbols.
authorZachary Turner <zturner@google.com>
Sat, 14 Feb 2015 03:54:28 +0000 (03:54 +0000)
committerZachary Turner <zturner@google.com>
Sat, 14 Feb 2015 03:54:28 +0000 (03:54 +0000)
commit73a1e454d799e1ae3e55210d3191669fca8f838c
tree7242b64d92f5d944bba15a03ad4ef3a49c6ab278
parentf94896ffa0a9a4dd311dcae8aa718074b5097e3f
llvm-pdbdump: Only dump whitelisted global symbols.

Dumping the global scope contains a lot of very uninteresting
things and is generally polluted with a lot of random junk.
Furthermore, it dumps values unsorted, making it hard to read.
This patch dumps known interesting types only, and as a side
effect sorts the list by symbol type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229232 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/PDB/PDBSymbol.h
include/llvm/DebugInfo/PDB/PDBSymbolExe.h
lib/DebugInfo/PDB/PDBSymbol.cpp
lib/DebugInfo/PDB/PDBSymbolExe.cpp
lib/DebugInfo/PDB/PDBSymbolFunc.cpp