llvm-pdbdump: Add more comprehensive dumping of symbol types.

In particular this patch adds the ability to dump complete
function signature information including argument types as
correctly formatted strings.  A side effect of this is that
almost all symbol and meta types are now formatted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229076 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zachary Turner
2015-02-13 07:40:03 +00:00
parent 6ffd7173f2
commit eb95a535aa
23 changed files with 337 additions and 114 deletions

View File

@@ -65,7 +65,8 @@ static void dumpInput(StringRef Path) {
if (opts::Compilands) {
auto Compilands = GlobalScope->findAllChildren<PDBSymbolCompiland>();
while (auto Compiland = Compilands->getNext()) {
Compiland->dump(outs(), 0, PDB_DumpLevel::Normal);
Compiland->dump(outs(), 0, PDB_DumpLevel::Detailed);
outs() << "\n";
}
}
outs().flush();