[llvm] [llvm-objdump] Support --mcpu=help/--mattr=help without -d (PR #165661)

Ruoyu Qiu via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 10 02:16:50 PST 2025


================
@@ -3533,6 +3533,33 @@ 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 {
+    // We can guarantee that InputFilenames won't be empty.
----------------
cabbaken wrote:

Fixed.

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


More information about the llvm-commits mailing list