[llvm] [llvm-objdump] Support --mcpu=help/--mattr=help without -d (PR #165661)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 11 01:11:06 PST 2025
================
@@ -0,0 +1,25 @@
+# RUN: yaml2obj %s -o %t
+# REQUIRES: x86-registered-target
+
+## When specifying --triple, the help message should be printed for the specified target.
+# RUN: llvm-objdump --mattr=help --triple=x86_64 2>&1 \
+# RUN: | FileCheck %s --check-prefixes=CHECK-HELP,CHECK-X86
----------------
jh7370 wrote:
If I'm not mistaken, all tests in this file now have the same set of prefixes. If that's the case, you can just omit `--check-prefixes` and use `CHECK` as the FileCheck prefix for the check patterns below.
https://github.com/llvm/llvm-project/pull/165661
More information about the llvm-commits
mailing list