[llvm] [bolt] Account for stubs with symbols in plt. (PR #192716)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 23 09:27:25 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 638 tests passed
* 56 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### BOLT
<details>
<summary>BOLT.X86/plt-mold.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/X86/Inputs/plt-mold.yaml &> /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/X86/Output/plt-mold.test.tmp.exe
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/X86/Inputs/plt-mold.yaml
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/X86/Output/plt-mold.test.tmp.exe --print-cfg --print-only=main.* -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/X86/Output/plt-mold.test.tmp.out | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/X86/plt-mold.test
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/X86/Output/plt-mold.test.tmp.exe --print-cfg '--print-only=main.*' -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/X86/Output/plt-mold.test.tmp.out
# .---command stderr------------
# | BOLT-WARNING: ignoring symbol __ehdr_start at 0x0, which lies outside .interp
# | BOLT-WARNING: ignoring symbol __executable_start at 0x0, which lies outside .interp
# | BOLT-WARNING: ignoring symbol __dso_handle at 0x0, which lies outside .interp
# | BOLT-WARNING: ignoring symbol _TLS_MODULE_BASE_ at 0x0, which lies outside .interp
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/X86/plt-mold.test
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/X86/plt-mold.test:6:8: error: CHECK: expected string not found in input
# | CHECK: callq "printf$plt
# | ^
# | <stdin>:1:1: note: scanning from here
# | BOLT-INFO: shared object or position-independent executable detected
# | ^
# | <stdin>:40:12: note: possible intended match here
# | 00000018: callq printf at PLT
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/X86/plt-mold.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: BOLT-INFO: shared object or position-independent executable detected
# | check:6'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: BOLT-INFO: Target architecture: x86_64
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: BOLT-INFO: BOLT version: 932a107c121ea57a58e602200f96f96e1e6b7c7f
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: BOLT-INFO: first alloc address is 0x0
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: BOLT-INFO: creating new program header table at address 0x200000, offset 0x200000
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: BOLT-INFO: enabling relocation mode
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 35: 00000004: !CFI $2 ; OpDefCfaRegister Reg6
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 36: 00000004: subq $0x10, %rsp
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 37: 00000008: movl $0x0, -0x4(%rbp)
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 38: 0000000f: leaq "PG.L.str/1"(%rip), %rdi
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 39: 00000016: movb $0x0, %al
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 40: 00000018: callq printf at PLT
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:6'1 ? possible intended match
# | 41: 0000001d: xorl %eax, %eax
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 42: 0000001f: addq $0x10, %rsp
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 43: 00000023: popq %rbp
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~
# | 44: 00000024: !CFI $3 ; OpDefCfa Reg7 8
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 45: 00000024: retq
# | check:6'0 ~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/192716
More information about the llvm-commits
mailing list