[llvm] [llvm-objdump] Add triple support to `mcpu=help` (PR #165661)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 14 01:18:08 PST 2025
================
@@ -3826,6 +3841,10 @@ int llvm_objdump_main(int argc, char **argv, const llvm::ToolContext &) {
!DisassembleSymbols.empty())
Disassemble = true;
+ if (!Disassemble && MCPU == "help") {
+ return MCPUHelp();
+ }
----------------
jh7370 wrote:
I think what you've done is fine. Yes, it's a slight behaviour change, but I think it's a reasonable one.
https://github.com/llvm/llvm-project/pull/165661
More information about the llvm-commits
mailing list