[
D148775](https://reviews.llvm.org/
D148775) changed the help msg for `--addresses-from-stdin` option when switching to OptTable
This patch also fixed a small problem in the argument type error msg
Test Plan: NFC
Differential Revision: https://reviews.llvm.org/
D153086
defm address : Eq<"address", "Lookup an address in a GSYM file">;
def addresses_from_stdin :
FF<"addresses-from-stdin",
- "Emit a section containing remark diagnostics metadata. By default, this is enabled for the following formats: yaml-strtab, bitstream">;
+ "Lookup addresses in a GSYM file that are read from stdin\nEach input line is expected to be of the following format: <addr> <gsym-path>">;
for (const llvm::opt::Arg *A : Args.filtered(OPT_address_EQ)) {
StringRef S{A->getValue()};
if (!llvm::to_integer(S, LookupAddresses.emplace_back(), 0)) {
- llvm::errs() << ToolName << ": for the --segment-size option: '" << S
+ llvm::errs() << ToolName << ": for the --address option: '" << S
<< "' value invalid for uint argument!\n";
std::exit(1);
}