[llvm] [objdump] Fix dxcontainer tests on big endian host (PR #163427)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 14 11:09:13 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-dev-x86-64` running on `ml-opt-dev-x86-64-b2` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/137/builds/27247
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-objcopy/DXContainer/dump-section.yaml' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/b/ml-opt-dev-x86-64-b1/build/bin/yaml2obj /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml -o /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.dxbc
# executed command: /b/ml-opt-dev-x86-64-b1/build/bin/yaml2obj /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml -o /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.dxbc
# RUN: at line 2
/b/ml-opt-dev-x86-64-b1/build/bin/llvm-objcopy --dump-section=DXIL=/b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.bc /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.dxbc
# executed command: /b/ml-opt-dev-x86-64-b1/build/bin/llvm-objcopy --dump-section=DXIL=/b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.bc /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.dxbc
# RUN: at line 3
/b/ml-opt-dev-x86-64-b1/build/bin/llvm-dis /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.bc -o - | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=BITCODE
# executed command: /b/ml-opt-dev-x86-64-b1/build/bin/llvm-dis /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.bc -o -
# executed command: /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=BITCODE
# RUN: at line 4
wc -c /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.bc | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=DXIL-SIZE
# executed command: wc -c /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.bc
# executed command: /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=DXIL-SIZE
# RUN: at line 12
/b/ml-opt-dev-x86-64-b1/build/bin/llvm-objcopy --dump-section=PSV0=/b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.psv0 /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.dxbc
# executed command: /b/ml-opt-dev-x86-64-b1/build/bin/llvm-objcopy --dump-section=PSV0=/b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.psv0 /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.dxbc
# RUN: at line 13
wc -c /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.psv0 | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=PSV0-SIZE
# executed command: wc -c /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.psv0
# executed command: /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=PSV0-SIZE
# RUN: at line 14
od -v -Ax -t x1 /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.psv0 | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=PSV0-CONTENTS
# executed command: od -v -Ax -t x1 /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.psv0
# executed command: /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=PSV0-CONTENTS
# .---command stderr------------
# | /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml:23:18: error: PSV0-CONTENTS: expected string not found in input
# | # PSV0-CONTENTS: 0000000 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# | ^
# | <stdin>:1:1: note: scanning from here
# | 000000 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# | ^
# |
# | Input file: <stdin>
# | Check file: /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: 000000 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# | check:23 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: 000010 00 00 00 00 00 00 00 00 ff ff ff ff 05 00 00 00
# | check:23 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: 000020 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00
...
```
</details>
https://github.com/llvm/llvm-project/pull/163427
More information about the llvm-commits
mailing list