<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/153186>153186</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[BOLT] The test AArch64/veneer-lld-abs.s failed
</td>
</tr>
<tr>
<th>Labels</th>
<td>
test-suite,
BOLT
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
slydiman
</td>
</tr>
</table>
<pre>
I got 1 failed test on Windows running `ninja -v check-bolt` for the current mainline code.
Probably something changed in lld and the test `AArch64/veneer-lld-abs.s` needs correction.
```
******************** TEST 'BOLT :: AArch64/veneer-lld-abs.s' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
d:\build-bolt\bin\llvm-mc.exe -filetype=obj -triple aarch64-unknown-unknown D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s -o D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.o
# executed command: 'd:\build-bolt\bin\llvm-mc.exe' -filetype=obj -triple aarch64-unknown-unknown 'D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s' -o 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.o'
# note: command had no output on stdout or stderr
# RUN: at line 5
d:\build-bolt\bin\clang.exe --target=aarch64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie --target=aarch64-unknown-linux-gnu -nostartfiles -nostdlib -ffreestanding -fno-PIC -no-pie D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.o -o D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe -nostdlib -fuse-ld=lld -Wl,-q
# executed command: 'd:\build-bolt\bin\clang.exe' --target=aarch64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie --target=aarch64-unknown-linux-gnu -nostartfiles -nostdlib -ffreestanding -fno-PIC -no-pie 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.o' -o 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe' -nostdlib -fuse-ld=lld -Wl,-q
# note: command had no output on stdout or stderr
# RUN: at line 7
d:\build-bolt\bin\llvm-objdump.exe -d D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe | d:\build-bolt\bin\filecheck.exe --check-prefix=CHECK-INPUT D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s
# executed command: 'd:\build-bolt\bin\llvm-objdump.exe' -d 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe'
# note: command had no output on stdout or stderr
# executed command: 'd:\build-bolt\bin\filecheck.exe' --check-prefix=CHECK-INPUT 'D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s'
# note: command had no output on stdout or stderr
# RUN: at line 8
d:\build-bolt\bin\llvm-objcopy.exe --remove-section .rela.mytext D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe
# executed command: 'd:\build-bolt\bin\llvm-objcopy.exe' --remove-section .rela.mytext 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe'
# note: command had no output on stdout or stderr
# RUN: at line 9
d:\build-bolt\bin\llvm-bolt.exe D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe -o D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.bolt
# executed command: 'd:\build-bolt\bin\llvm-bolt.exe' 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe' -o 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.bolt'
# .---command stdout------------
# | BOLT-INFO: Target architecture: aarch64
# | BOLT-INFO: BOLT version: f12e0380be3bd6084ae860090dc027e0281e388e
# | BOLT-INFO: first alloc address is 0x200000
# | BOLT-INFO: creating new program header table at address 0x400000, offset 0x200000
# | BOLT-INFO: enabling relocation mode
# | BOLT-INFO: static input executable detected
# | BOLT-INFO: number of removed linker-inserted veneers: 2
# | BOLT-INFO: 0 out of 5 functions in the binary (0.0%) have non-empty execution profile
# | BOLT-INFO: Starting stub-insertion pass
# | BOLT-INFO: Inserted 0 stubs in the hot area and 0 stubs in the cold area. Shared 0 times, iterated 1 times.
# `-----------------------------
# RUN: at line 10
d:\build-bolt\bin\llvm-objdump.exe -d -j .text D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.bolt | d:\build-bolt\bin\filecheck.exe --check-prefix=CHECK-OUTPUT D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s
# executed command: 'd:\build-bolt\bin\llvm-objdump.exe' -d -j .text 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.bolt'
# note: command had no output on stdout or stderr
# executed command: 'd:\build-bolt\bin\filecheck.exe' --check-prefix=CHECK-OUTPUT 'D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s'
# note: command had no output on stdout or stderr
# RUN: at line 15
d:\build-bolt\bin\llvm-objcopy.exe --remove-symbol-prefix=\$d D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.no-marker.exe
# executed command: 'd:\build-bolt\bin\llvm-objcopy.exe' '--remove-symbol-prefix=\$d' 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe' 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.no-marker.exe'
# note: command had no output on stdout or stderr
# RUN: at line 16
d:\build-bolt\bin\llvm-bolt.exe D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.no-marker.exe -o D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.no-marker.bolt 2>&1 | d:\build-bolt\bin\filecheck.exe D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s --check-prefix=CHECK-BOLT
# executed command: 'd:\build-bolt\bin\llvm-bolt.exe' 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.no-marker.exe' -o 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.no-marker.bolt'
# note: command had no output on stdout or stderr
# executed command: 'd:\build-bolt\bin\filecheck.exe' 'D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s' --check-prefix=CHECK-BOLT
# .---command stderr------------
# | D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s:22:15: error: CHECK-BOLT: expected string not found in input
# | # CHECK-BOLT: BOLT-WARNING: missing data marker detected in veneer __AArch64AbsLongThunk_far_function
# | ^
# | <stdin>:1:1: note: scanning from here
# | BOLT-INFO: Target architecture: aarch64
# | ^
# |
# | Input file: <stdin>
# | Check file: D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: BOLT-INFO: Target architecture: aarch64
# | check:22 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: BOLT-INFO: BOLT version: f12e0380be3bd6084ae860090dc027e0281e388e
# | check:22 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: BOLT-INFO: first alloc address is 0x200000
# | check:22 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: BOLT-INFO: creating new program header table at address 0x400000, offset 0x200000
# | check:22 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: BOLT-INFO: enabling relocation mode
# | check:22 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: BOLT-INFO: static input executable detected
# | check:22 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzcWl1zGjsS_TXipUuU0DCAH3jggr3r2ltJ6sap7FtKM-oBJRqJlTQ2ftnfviUNYOwAdgLsunZqXHxYarVOH7VOixHeq7lBHJP8D5LPOqIJC-vGXj9KVQvTKax8HN_C3AboQSWURgkBfQBr4Ksy0j54cI0xysyBDJhR5rsAeg_lAssftLA6kAGDyjoIC4SycQ5NgFooo5VBKK3ELmGTT84WotCP4G2NYRGtlQth5ihBGdBagjAymUiDkwGbTFy5GPQJv7lHg-io1pKKwnd9HNAgSg-ldQ7LoKyJY5ABW99sQvjv33B3_fkOCB_-8fHPOyDZhGQTOOIOH8LN5PbP6xmcMiphk-uVCjC1EuOAvTgLNpnauo7QfGzCsglA-MgHaZtA-FX0jE0oTdPN4K8vH2I_ESAh3ydsImOTfFo0Sss2Vvm0UIbkU63va1qXXVwh0EppDI9LJNnMFt-BBqeWGkGINGXamB_GPpjNK8xaq8nE0tnvWCa7rfkYPpJPN3Dl05dwAbUbC8_8CtZqf8ROC8Aeg91QL7t2DQKusGwCSihb3CIihA_fBEQM5K9iQfjwNDjSoHbHzllB4cM1LsaGxKo1LLAQEowF27LKGmhZBdbFd-jcflLlR0lVamHmiVJAaRBujoFks5fQaWWaFZ2bBmj16fYaaNV4pFqSbBbzAP2qCZ9S2hiH3up7lNQ_1kXEIZupubEOqdB62671Q8XuxhoEulT4xuGN9UG4EEPu209SqwJoVTlEH4SRMU_Rylj66XYaWyTjFwjUZRZFWtzbacVrP9b_-t3Fsw14YvH_ccgvtjwvtvY3QdmZ4rHQnyk_DF_fdGzxXTYbcsoLsZ4Mp3DYjxj9pF9aJ2irZZYOK7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