[llvm] [llvm-objdump] Add triple support to `mcpu=help` (PR #165661)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 4 00:14:26 PST 2025
================
@@ -3533,6 +3533,35 @@ commaSeparatedValues(const llvm::opt::InputArgList &InputArgs, int ID) {
return Values;
}
+static void mcpuHelp() {
+ std::string Error;
+ Triple TheTriple;
+
+ if (!TripleName.empty()) {
+ TheTriple.setTriple(TripleName);
+ } else {
+ // If the target triple is derived from the files, we display help message
+ // when disassembling them.
+ if (Disassemble)
+ return;
+ if (InputFilenames.size() != 1)
+ reportWarning("When multiple files are specified, only the first file is "
----------------
jh7370 wrote:
Why have you introduced this warning?
https://github.com/llvm/llvm-project/pull/165661
More information about the llvm-commits
mailing list