mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
[llvm-pdbdump] Clean up method signatures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230889 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -150,7 +150,7 @@ static void dumpInput(StringRef Path) {
|
||||
auto Compilands = GlobalScope->findAllChildren<PDBSymbolCompiland>();
|
||||
CompilandDumper Dumper(Printer);
|
||||
while (auto Compiland = Compilands->getNext())
|
||||
Dumper.start(*Compiland, outs(), 2, false);
|
||||
Dumper.start(*Compiland, false);
|
||||
Printer.Unindent();
|
||||
}
|
||||
|
||||
@@ -159,7 +159,7 @@ static void dumpInput(StringRef Path) {
|
||||
WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---TYPES---";
|
||||
Printer.Indent();
|
||||
TypeDumper Dumper(Printer, opts::ClassDefs);
|
||||
Dumper.start(*GlobalScope, outs(), 2);
|
||||
Dumper.start(*GlobalScope);
|
||||
Printer.Unindent();
|
||||
}
|
||||
|
||||
@@ -170,7 +170,7 @@ static void dumpInput(StringRef Path) {
|
||||
auto Compilands = GlobalScope->findAllChildren<PDBSymbolCompiland>();
|
||||
CompilandDumper Dumper(Printer);
|
||||
while (auto Compiland = Compilands->getNext())
|
||||
Dumper.start(*Compiland, outs(), 2, true);
|
||||
Dumper.start(*Compiland, true);
|
||||
Printer.Unindent();
|
||||
}
|
||||
|
||||
@@ -183,20 +183,20 @@ static void dumpInput(StringRef Path) {
|
||||
auto Functions = GlobalScope->findAllChildren<PDBSymbolFunc>();
|
||||
while (auto Function = Functions->getNext()) {
|
||||
Printer.NewLine();
|
||||
Dumper.start(*Function, FunctionDumper::PointerType::None, outs(), 2);
|
||||
Dumper.start(*Function, FunctionDumper::PointerType::None);
|
||||
}
|
||||
}
|
||||
{
|
||||
auto Vars = GlobalScope->findAllChildren<PDBSymbolData>();
|
||||
VariableDumper Dumper(Printer);
|
||||
while (auto Var = Vars->getNext())
|
||||
Dumper.start(*Var, outs(), 2);
|
||||
Dumper.start(*Var);
|
||||
}
|
||||
{
|
||||
auto Thunks = GlobalScope->findAllChildren<PDBSymbolThunk>();
|
||||
CompilandDumper Dumper(Printer);
|
||||
while (auto Thunk = Thunks->getNext())
|
||||
Dumper.dump(*Thunk, outs(), 2);
|
||||
Dumper.dump(*Thunk);
|
||||
}
|
||||
Printer.Unindent();
|
||||
}
|
||||
|
Reference in New Issue
Block a user