[PATCH] D92217: [llvm-objdump] Remove -mcpu=help from help text
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 27 02:06:01 PST 2020
jhenderson requested changes to this revision.
jhenderson added a comment.
This revision now requires changes to proceed.
It works for me.
PS C:\Work\TempWork\> \llvm\build\Debug\bin\llvm-objdump --mcpu=help C:\Work\TempWork\bar.o -d
C:\Work\TempWork\bar.o: file format elf64-x86-64
Available CPUs for this target:
...
However, you have to provide one of the "commands" or llvm-objdump will dump the help text. See https://llvm.org/docs/CommandGuide/llvm-objdump.html for details@
> At least one of the following commands are required, and some commands can be combined with other commands
It would probably make sense to promote `--mcpu=help` specifically (i.e. not `--mcpu=<some cpu>`) to a "Command".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92217/new/
https://reviews.llvm.org/D92217
More information about the llvm-commits
mailing list