[clang] [lld] [llvm] Reland #184065 (PR #201849)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 5 09:19:18 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 182323 tests passed
* 4724 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### cfi-devirt-lld-thinlto-traploop-x86_64
<details>
<summary>cfi-devirt-lld-thinlto-traploop-x86_64.icall/wrong-signature-mixed-lto.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_A -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_a.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_A -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_a.o
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument]
# `-----------------------------
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_B -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_b.o -flto
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_B -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_b.o -flto
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument]
# `-----------------------------
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_a.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_b.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_a.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_b.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1
# note: command had no output on stdout or stderr
# RUN: at line 8
not --crash /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1 2>&1 | FileCheck --check-prefix=CFI /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c
# executed command: not --crash /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1
# note: command had no output on stdout or stderr
# executed command: FileCheck --check-prefix=CFI /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c
# note: command had no output on stdout or stderr
# RUN: at line 10
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_A -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_a.o -flto
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_A -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_a.o -flto
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument]
# `-----------------------------
# RUN: at line 11
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_B -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_b.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_B -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_b.o
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument]
# `-----------------------------
# RUN: at line 12
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_a.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_b.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_a.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_b.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2
# note: command had no output on stdout or stderr
# RUN: at line 13
not --crash /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2 2>&1 | FileCheck --check-prefix=CFI /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c
# executed command: not --crash /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2
# note: command had no output on stdout or stderr
# executed command: FileCheck --check-prefix=CFI /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c
# note: command had no output on stdout or stderr
# RUN: at line 15
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_A -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_a.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_A -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_a.o
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument]
# `-----------------------------
# RUN: at line 16
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_B -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_b.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_B -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_b.o
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument]
# `-----------------------------
# RUN: at line 17
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_a.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_b.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_a.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_b.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3
# .---command stderr------------
# | ld.lld: error: undefined hidden symbol: install_trap_loop_detection.21576b91ab9b15712202e1b4a494877f.cfi
# | >>> referenced by ld-temp.o
# | >>> /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3.lto.o:(install_trap_loop_detection.21576b91ab9b15712202e1b4a494877f)
# | clang: error: linker command failed with exit code 1 (use -v to see invocation)
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
### cfi-standalone-lld-thinlto-traploop-x86_64
<details>
<summary>cfi-standalone-lld-thinlto-traploop-x86_64.icall/wrong-signature-mixed-lto.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_A -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_a.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_A -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_a.o
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument]
# `-----------------------------
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_B -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_b.o -flto
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_B -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_b.o -flto
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument]
# `-----------------------------
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_a.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_b.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_a.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1_b.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1
# note: command had no output on stdout or stderr
# RUN: at line 8
not --crash /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1 2>&1 | FileCheck --check-prefix=CFI /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c
# executed command: not --crash /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp1
# note: command had no output on stdout or stderr
# executed command: FileCheck --check-prefix=CFI /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c
# note: command had no output on stdout or stderr
# RUN: at line 10
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_A -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_a.o -flto
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_A -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_a.o -flto
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument]
# `-----------------------------
# RUN: at line 11
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_B -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_b.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_B -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_b.o
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument]
# `-----------------------------
# RUN: at line 12
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_a.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_b.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_a.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2_b.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2
# note: command had no output on stdout or stderr
# RUN: at line 13
not --crash /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2 2>&1 | FileCheck --check-prefix=CFI /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c
# executed command: not --crash /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp2
# note: command had no output on stdout or stderr
# executed command: FileCheck --check-prefix=CFI /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c
# note: command had no output on stdout or stderr
# RUN: at line 15
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_A -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_a.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_A -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_a.o
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument]
# `-----------------------------
# RUN: at line 16
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_B -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_b.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/icall/wrong-signature-mixed-lto.c -DMODULE_B -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_b.o
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument]
# `-----------------------------
# RUN: at line 17
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_a.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_b.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -fsanitize-trap-loop -include /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/cfi/trap_loop_signal_handler.inc /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_a.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3_b.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3
# .---command stderr------------
# | ld.lld: error: undefined hidden symbol: install_trap_loop_detection.21576b91ab9b15712202e1b4a494877f.cfi
# | >>> referenced by ld-temp.o
# | >>> /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-traploop-x86_64/icall/Output/wrong-signature-mixed-lto.c.tmp3.lto.o:(install_trap_loop_detection.21576b91ab9b15712202e1b4a494877f)
# | clang: error: linker command failed with exit code 1 (use -v to see invocation)
# `-----------------------------
# 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/201849
More information about the cfe-commits
mailing list