[PATCH] D153086: [llvm-gsymutil] Fix command descriptions introduced in upstream D148775 when switching to OptTable
Wanyi Ye via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 16 08:47:07 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGdf06594a8ccb: [llvm-gsymutil] Fix command descriptions introduced in upstream D148775 when… (authored by kusmour).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153086/new/
https://reviews.llvm.org/D153086
Files:
llvm/tools/llvm-gsymutil/Opts.td
llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
Index: llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
===================================================================
--- llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
+++ llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
@@ -172,7 +172,7 @@
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);
}
Index: llvm/tools/llvm-gsymutil/Opts.td
===================================================================
--- llvm/tools/llvm-gsymutil/Opts.td
+++ llvm/tools/llvm-gsymutil/Opts.td
@@ -34,4 +34,4 @@
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>">;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153086.532175.patch
Type: text/x-patch
Size: 1254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230616/f2fac2ab/attachment.bin>
More information about the llvm-commits
mailing list