forked from OSchip/llvm-project
parent
fe4d904917
commit
6074e6b094
|
@ -773,8 +773,7 @@ std::vector<const char *> ArgParser::tokenize(StringRef S) {
|
|||
}
|
||||
|
||||
void printHelp(const char *Argv0) {
|
||||
COFFOptTable Table;
|
||||
Table.PrintHelp(outs(), Argv0, "LLVM Linker", false);
|
||||
COFFOptTable().PrintHelp(outs(), Argv0, "LLVM Linker", false);
|
||||
}
|
||||
|
||||
} // namespace coff
|
||||
|
|
|
@ -114,9 +114,8 @@ opt::InputArgList ELFOptTable::parse(ArrayRef<const char *> Argv) {
|
|||
}
|
||||
|
||||
void elf::printHelp(const char *Argv0) {
|
||||
ELFOptTable Table;
|
||||
Table.PrintHelp(outs(), Argv0, "lld", false /*ShowHidden*/,
|
||||
true /*ShowAllAliases*/);
|
||||
ELFOptTable().PrintHelp(outs(), Argv0, "lld", false /*ShowHidden*/,
|
||||
true /*ShowAllAliases*/);
|
||||
outs() << "\n";
|
||||
|
||||
// Scripts generated by Libtool versions up to at least 2.4.6 (the most
|
||||
|
|
|
@ -143,8 +143,7 @@ static void addSyntheticUndefinedFunction(StringRef Name,
|
|||
}
|
||||
|
||||
static void printHelp(const char *Argv0) {
|
||||
WasmOptTable Table;
|
||||
Table.PrintHelp(outs(), Argv0, "LLVM Linker", false);
|
||||
WasmOptTable().PrintHelp(outs(), Argv0, "LLVM Linker", false);
|
||||
}
|
||||
|
||||
WasmOptTable::WasmOptTable() : OptTable(OptInfo) {}
|
||||
|
|
Loading…
Reference in New Issue