[llvm] Add support to YAML for program headers with content. (PR #192364)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 15 18:09:48 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 172768 tests passed
* 3169 tests skipped
* 4 tests failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.tools/llvm-readobj/ELF/malformed-pt-dynamic.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 9
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test -DFILESIZE=0x131 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test -DFILESIZE=0x131 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1
# note: command had no output on stdout or stderr
# RUN: at line 10
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readobj /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1 --dynamic-table 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -DFILE=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test --check-prefixes=WARN1,WARN1-LLVM
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readobj /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1 --dynamic-table
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -DFILE=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test --check-prefixes=WARN1,WARN1-LLVM
# note: command had no output on stdout or stderr
# RUN: at line 11
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readelf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1 --dynamic-table 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -DFILE=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test --check-prefixes=WARN1,WARN1-GNU
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readelf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1 --dynamic-table
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -DFILE=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test --check-prefixes=WARN1,WARN1-GNU
# note: command had no output on stdout or stderr
# RUN: at line 25
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test -DFILESIZE=0x12 -DNOHEADERS=true -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1.noheaders
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test -DFILESIZE=0x12 -DNOHEADERS=true -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1.noheaders
# note: command had no output on stdout or stderr
# RUN: at line 26
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readobj /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1.noheaders --dynamic-table 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -DFILE=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1.noheaders /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test    --check-prefix=WARN1-NOHEADERS --implicit-check-not="DynamicSection ["
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readobj /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1.noheaders --dynamic-table
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -DFILE=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1.noheaders /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test --check-prefix=WARN1-NOHEADERS '--implicit-check-not=DynamicSection ['
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test:31:20: error: WARN1-NOHEADERS: expected string not found in input
# | # WARN1-NOHEADERS: warning: '[[FILE]]': PT_DYNAMIC segment offset (0x1000) + file size (0x12) exceeds the size of the file (0x1011)
# |                    ^
# | <stdin>:1:1: note: scanning from here
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readobj: warning: '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1.noheaders': PT_DYNAMIC segment offset (0x1000) + file size (0x12) exceeds the size of the file (0x1010)
# | ^
# | <stdin>:1:1: note: with "FILE" equal to "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1.noheaders"
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readobj: warning: '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1.noheaders': PT_DYNAMIC segment offset (0x1000) + file size (0x12) exceeds the size of the file (0x1010)
# | ^
# | <stdin>:1:224: note: possible intended match here
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readobj: warning: '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1.noheaders': PT_DYNAMIC segment offset (0x1000) + file size (0x12) exceeds the size of the file (0x1010)
# |                                                                                                                                                                                                                                ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readobj: warning: '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1.noheaders': PT_DYNAMIC segment offset (0x1000) + file size (0x12) exceeds the size of the file (0x1010) 
# | check:31'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:31'1                                                                                                                                                                                                                                                                                                                                          with "FILE" equal to "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1.noheaders"
# | check:31'2                                                                                                                                                                                                                                    ?                                                                                                     possible intended match
# |             2:  
# | check:31'0     ~
# |             3: File: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-readobj/ELF/Output/malformed-pt-dynamic.test.tmp1.noheaders 
# | check:31'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             4: Format: elf64-unknown 
# | check:31'0     ~~~~~~~~~~~~~~~~~~~~~~
# |             5: Arch: unknown 
# | check:31'0     ~~~~~~~~~~~~~~
# |             6: AddressSize: 64bit 
# | check:31'0     ~~~~~~~~~~~~~~~~~~~
# |             7: LoadName: <Not found> 
# | check:31'0     ~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.tools/obj2yaml/ELF/eshnum.yaml</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 13
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/eshnum.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/eshnum.yaml.tmp1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/eshnum.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/eshnum.yaml.tmp1
# note: command had no output on stdout or stderr
# RUN: at line 14
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/eshnum.yaml.tmp1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/eshnum.yaml --check-prefix=PRESERVE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/eshnum.yaml.tmp1
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/eshnum.yaml --check-prefix=PRESERVE
# note: command had no output on stdout or stderr
# RUN: at line 43
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/eshnum.yaml -DSIZE=0x0 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/eshnum.yaml.tmp2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/eshnum.yaml -DSIZE=0x0 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/eshnum.yaml.tmp2
# note: command had no output on stdout or stderr
# RUN: at line 44
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/eshnum.yaml.tmp2 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/eshnum.yaml --check-prefix=NO-SECTIONS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/eshnum.yaml.tmp2
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/eshnum.yaml --check-prefix=NO-SECTIONS
# note: command had no output on stdout or stderr
# RUN: at line 59
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/eshnum.yaml -DESHOFF=0x0 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/eshnum.yaml.tmp3
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/eshnum.yaml -DESHOFF=0x0 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/eshnum.yaml.tmp3
# note: command had no output on stdout or stderr
# RUN: at line 60
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/eshnum.yaml.tmp3 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/eshnum.yaml --check-prefix=NO-HEADERS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/eshnum.yaml.tmp3
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/eshnum.yaml --check-prefix=NO-HEADERS
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/eshnum.yaml:67:20: error: NO-HEADERS-NEXT: is not on the line after the previous match
# | # NO-HEADERS-NEXT: ...
# |                    ^
# | <stdin>:11:1: note: 'next' match was here
# | ...
# | ^
# | <stdin>:5:14: note: previous match ended here
# |  Type: ET_REL
# |              ^
# | <stdin>:6:1: note: non-matching line after previous match is here
# |  EShEntSize: 0x40
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/eshnum.yaml
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |          6:  EShEntSize: 0x40 
# |          7:  EShStrNdx: 0x2 
# |          8: Sections: 
# |          9:  - Type: SectionHeaderTable 
# |         10:  NoHeaders: true 
# |         11: ... 
# | next:67     !~~  error: match on wrong line
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.tools/obj2yaml/ELF/shstrtab.yaml</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj --docnum=1 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp1.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj --docnum=1 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp1.o
# note: command had no output on stdout or stderr
# RUN: at line 8
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp1.o > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp1.yaml
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp1.o
# note: command had no output on stdout or stderr
# RUN: at line 9
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp1.yaml --check-prefix=CUSTOM
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp1.yaml --check-prefix=CUSTOM
# note: command had no output on stdout or stderr
# RUN: at line 28
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj --docnum=2 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp2.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj --docnum=2 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp2.o
# note: command had no output on stdout or stderr
# RUN: at line 29
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp2.o > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp2.yaml
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp2.o
# note: command had no output on stdout or stderr
# RUN: at line 30
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp2.yaml --check-prefix=XINDEX
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp2.yaml --check-prefix=XINDEX
# note: command had no output on stdout or stderr
# RUN: at line 57
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj --docnum=3 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp3.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj --docnum=3 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp3.o
# note: command had no output on stdout or stderr
# RUN: at line 58
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp3.o > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp3.yaml
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp3.o
# note: command had no output on stdout or stderr
# RUN: at line 59
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp3.yaml --check-prefix=STRTAB
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp3.yaml --check-prefix=STRTAB
# note: command had no output on stdout or stderr
# RUN: at line 85
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj --docnum=4 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp4.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj --docnum=4 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp4.o
# note: command had no output on stdout or stderr
# RUN: at line 86
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp4.o > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp4.yaml
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp4.o
# note: command had no output on stdout or stderr
# RUN: at line 87
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp4.yaml --check-prefix=DYNSTR
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp4.yaml --check-prefix=DYNSTR
# note: command had no output on stdout or stderr
# RUN: at line 121
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj --docnum=5 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp5.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj --docnum=5 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp5.o
# note: command had no output on stdout or stderr
# RUN: at line 122
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp5.o > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp5.yaml
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp5.o
# note: command had no output on stdout or stderr
# RUN: at line 123
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp5.yaml --check-prefix=DEFAULT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp5.yaml --check-prefix=DEFAULT
# note: command had no output on stdout or stderr
# RUN: at line 140
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj --docnum=6 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp6.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj --docnum=6 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp6.o
# note: command had no output on stdout or stderr
# RUN: at line 141
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp6.o > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp6.yaml
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp6.o
# note: command had no output on stdout or stderr
# RUN: at line 142
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp6.yaml --check-prefix=DEFXINDEX
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp6.yaml --check-prefix=DEFXINDEX
# note: command had no output on stdout or stderr
# RUN: at line 166
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj --docnum=7 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp7.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj --docnum=7 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp7.o
# note: command had no output on stdout or stderr
# RUN: at line 167
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp7.o > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp7.yaml
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp7.o
# note: command had no output on stdout or stderr
# RUN: at line 168
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp7.yaml --check-prefix=NOHDRS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp7.yaml --check-prefix=NOHDRS
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml:185:16: error: NOHDRS-NEXT: is not on the line after the previous match
# | # NOHDRS-NEXT: ...
# |                ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp7.yaml:10:1: note: 'next' match was here
# | ...
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp7.yaml:5:15: note: previous match ended here
# |  Type: ET_EXEC
# |               ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp7.yaml:6:1: note: non-matching line after previous match is here
# |  EShEntSize: 0x40
# | ^
# | 
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/obj2yaml/ELF/Output/shstrtab.yaml.tmp7.yaml
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/obj2yaml/ELF/shstrtab.yaml
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |           5:  Type: ET_EXEC 
# |           6:  EShEntSize: 0x40 
# |           7: Sections: 
# |           8:  - Type: SectionHeaderTable 
# |           9:  NoHeaders: true 
# |          10: ... 
# | next:185     !~~  error: match on wrong line
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.tools/yaml2obj/ELF/relocation-crel.yaml</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/yaml2obj/ELF/Output/relocation-crel.yaml.tmp && mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/yaml2obj/ELF/Output/relocation-crel.yaml.tmp && cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/yaml2obj/ELF/Output/relocation-crel.yaml.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/yaml2obj/ELF/Output/relocation-crel.yaml.tmp
# note: command had no output on stdout or stderr
# executed command: mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/yaml2obj/ELF/Output/relocation-crel.yaml.tmp
# note: command had no output on stdout or stderr
# executed command: cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/yaml2obj/ELF/Output/relocation-crel.yaml.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/yaml2obj/ELF/relocation-crel.yaml -o out
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/yaml2obj/ELF/relocation-crel.yaml -o out
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readelf -r out | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/yaml2obj/ELF/relocation-crel.yaml
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readelf -r out
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/yaml2obj/ELF/relocation-crel.yaml
# note: command had no output on stdout or stderr
# RUN: at line 70
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/yaml2obj/ELF/relocation-crel.yaml --docnum=2 --max-size=76 -o /dev/null
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/yaml2obj/ELF/relocation-crel.yaml --docnum=2 --max-size=76 -o /dev/null
# .---command stderr------------
# | yaml2obj: error: the desired output size is greater than permitted. Use the --max-size option to change the limit
# `-----------------------------
# RUN: at line 71
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/yaml2obj/ELF/relocation-crel.yaml --docnum=2 --max-size=77 -o out
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/yaml2obj/ELF/relocation-crel.yaml --docnum=2 --max-size=77 -o out
# note: command had no output on stdout or stderr
# RUN: at line 72
"/usr/bin/python3" -c 'import os; print(os.path.getsize("out"))' | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/yaml2obj/ELF/relocation-crel.yaml --check-prefix=SIZE
# executed command: /usr/bin/python3 -c 'import os; print(os.path.getsize("out"))'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/yaml2obj/ELF/relocation-crel.yaml --check-prefix=SIZE
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/yaml2obj/ELF/relocation-crel.yaml:74:9: error: SIZE: expected string not found in input
# | # SIZE: 69
# |         ^
# | <stdin>:1:1: note: scanning from here
# | 68
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/yaml2obj/ELF/relocation-crel.yaml
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           1: 68 
# | check:74     X~~ error: no match found
# | >>>>>>
# `-----------------------------
# 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/192364


More information about the llvm-commits mailing list