[llvm] [ObjectYAML][ELF] Take alignment into account when generating notes (PR #118157)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 2 18:06:28 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `llvm` at step 8 "Add check check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/12139

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 8 (Add check check-llvm) failure: test (failure)
******************** TEST 'LLVM :: tools/yaml2obj/ELF/note-section.yaml' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 8: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=1 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp1
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=1 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp1
RUN: at line 9: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-readobj --sections --section-data /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp1 | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=NOTE
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-readobj --sections --section-data /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp1
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=NOTE
RUN: at line 57: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=2 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp2
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=2 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp2
RUN: at line 58: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-readobj --sections --section-data /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp2 | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=NOTE
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-readobj --sections --section-data /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp2
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=NOTE
RUN: at line 80: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=3 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp3
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=3 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp3
RUN: at line 81: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-readobj --sections --section-data /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp3 | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=NOTE-BE
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-readobj --sections --section-data /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp3
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=NOTE-BE
RUN: at line 82: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=4 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp4
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=4 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp4
RUN: at line 83: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-readobj --sections --section-data /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp4 | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=NOTE-BE
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=NOTE-BE
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-readobj --sections --section-data /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp4
RUN: at line 119: not /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=5 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml 2>&1 | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=TYPE-REQ
+ not /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=5 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=TYPE-REQ
RUN: at line 136: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=6 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp6
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=6 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp6
RUN: at line 137: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-readobj --sections --section-data /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp6 | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=NAME-DESC
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=NAME-DESC
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-readobj --sections --section-data /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp6
RUN: at line 157: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=7 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp7
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=7 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp7
RUN: at line 158: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-readobj --sections --section-data /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp7 | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=CONTENT
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-readobj --sections --section-data /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp7
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=CONTENT
RUN: at line 177: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=8 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp8
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=8 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp8
RUN: at line 178: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-readelf --sections /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp8 | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=NO-TAGS
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-readelf --sections /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp8
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=NO-TAGS
RUN: at line 194: not /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=9 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml 2>&1 | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=CONTENT-NOTES
+ not /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=9 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=CONTENT-NOTES
RUN: at line 211: not /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=10 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml 2>&1 | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=CONTENT-NOTES
+ not /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=10 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml --check-prefix=CONTENT-NOTES
RUN: at line 226: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/yaml2obj --docnum=11 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/yaml2obj/ELF/note-section.yaml -o /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/yaml2obj/ELF/Output/note-section.yaml.tmp11
...

```

</details>

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


More information about the llvm-commits mailing list