[llvm] [llvm-objdump] Support --mcpu=help/--mattr=help without -d (PR #165661)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 10 03:06:50 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 128499 tests passed
* 2800 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.tools/llvm-objdump/mattr-mcpu-help.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\yaml2obj.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test -o C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\Output\mattr-mcpu-help.test.tmp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\yaml2obj.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test' -o 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\Output\mattr-mcpu-help.test.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe -d C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\Output\mattr-mcpu-help.test.tmp --mattr=help 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test --check-prefixes=CHECK,CHECK-DISASSEMBLE
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe' -d 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\Output\mattr-mcpu-help.test.tmp' --mattr=help
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test' --check-prefixes=CHECK,CHECK-DISASSEMBLE
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe -d C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\Output\mattr-mcpu-help.test.tmp --mcpu=help 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test --check-prefixes=CHECK,CHECK-DISASSEMBLE
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe' -d 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\Output\mattr-mcpu-help.test.tmp' --mcpu=help
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test' --check-prefixes=CHECK,CHECK-DISASSEMBLE
# note: command had no output on stdout or stderr
# RUN: at line 10
c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe --mattr=help C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\Output\mattr-mcpu-help.test.tmp 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test --check-prefix=CHECK
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe' --mattr=help 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\Output\mattr-mcpu-help.test.tmp'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test' --check-prefix=CHECK
# note: command had no output on stdout or stderr
# RUN: at line 12
c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe --mcpu=help C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\Output\mattr-mcpu-help.test.tmp 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test --check-prefix=CHECK
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe' --mcpu=help 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\Output\mattr-mcpu-help.test.tmp'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test' --check-prefix=CHECK
# note: command had no output on stdout or stderr
# RUN: at line 16
c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe --mattr=help --section-headers C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\Output\mattr-mcpu-help.test.tmp 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test --check-prefixes=CHECK,CHECK-SECTION-HEADERS
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe' --mattr=help --section-headers 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\Output\mattr-mcpu-help.test.tmp'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test' --check-prefixes=CHECK,CHECK-SECTION-HEADERS
# note: command had no output on stdout or stderr
# RUN: at line 18
c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe --mcpu=help --section-headers C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\Output\mattr-mcpu-help.test.tmp 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test --check-prefixes=CHECK,CHECK-SECTION-HEADERS
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe' --mcpu=help --section-headers 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\Output\mattr-mcpu-help.test.tmp'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test' --check-prefixes=CHECK,CHECK-SECTION-HEADERS
# note: command had no output on stdout or stderr
# RUN: at line 22
not c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe --mattr=help 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test --check-prefix=CHECK-ERROR --implicit-check-not=error:
# executed command: not 'c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe' --mattr=help
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test' --check-prefix=CHECK-ERROR --implicit-check-not=error:
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test:35:16: error: CHECK-ERROR: expected string not found in input
# | # CHECK-ERROR: llvm-objdump: error: 'a.out': triple was not specified and could not be inferred from the input file: No such file or directory
# | ^
# | <stdin>:1:1: note: scanning from here
# | c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe: error: 'a.out': triple was not specified and could not be inferred from the input file: no such file or directory
# | ^
# | <stdin>:1:46: note: possible intended match here
# | c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe: error: 'a.out': triple was not specified and could not be inferred from the input file: no such file or directory
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\mattr-mcpu-help.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe: error: 'a.out': triple was not specified and could not be inferred from the input file: no such file or directory
# | check:35'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:35'1 ? possible intended match
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/165661
More information about the llvm-commits
mailing list