[llvm] [llvm-objdump] Add triple support to `mcpu=help` (PR #165661)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 25 00:57:19 PST 2025


================
@@ -3533,6 +3533,35 @@ commaSeparatedValues(const llvm::opt::InputArgList &InputArgs, int ID) {
   return Values;
 }
 
+static void mcpuHelp() {
+  std::string Error;
+  Triple DummyTriple;
----------------
jh7370 wrote:

Given that `DummyTriple` might actually be set to the real triple in some cases, I think it would simply be better to call it `TheTriple` or `TripleToUse`.

https://github.com/llvm/llvm-project/pull/165661


More information about the llvm-commits mailing list