[llvm] [LowerTypeTests] Add debug info to jump table entries (PR #192736)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 22 21:04:45 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

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

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'cfi-devirt-lld-thinlto-traploop-x86_64 :: cross-dso/icall/diag.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 9
mkdir -p /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/cross-dso/icall/Output/diag.cpp.tmp.dir && cd /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/cross-dso/icall/Output/diag.cpp.tmp.dir
# executed command: mkdir -p /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/cross-dso/icall/Output/diag.cpp.tmp.dir
# note: command had no output on stdout or stderr
# executed command: cd /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/cross-dso/icall/Output/diag.cpp.tmp.dir
# note: command had no output on stdout or stderr
# RUN: at line 10
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/./bin/clang   -m64 -fuse-ld=lld -flto=thin  -fsanitize=cfi -fwhole-program-vtables --driver-mode=g++ -fsanitize-cfi-cross-dso -fvisibility=default -fno-sanitize-trap=cfi -fsanitize-recover=cfi -g -DSHARED_LIB /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/cfi/cross-dso/icall/diag.cpp -fPIC -shared -o /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/cross-dso/icall/Output/diag.cpp.tmp.dir/libdiag.cpp.dynamic.so
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables --driver-mode=g++ -fsanitize-cfi-cross-dso -fvisibility=default -fno-sanitize-trap=cfi -fsanitize-recover=cfi -g -DSHARED_LIB /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/cfi/cross-dso/icall/diag.cpp -fPIC -shared -o /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/cross-dso/icall/Output/diag.cpp.tmp.dir/libdiag.cpp.dynamic.so
# note: command had no output on stdout or stderr
# RUN: at line 11
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/./bin/clang   -m64 -fuse-ld=lld -flto=thin  -fsanitize=cfi -fwhole-program-vtables --driver-mode=g++ -fsanitize-cfi-cross-dso -fvisibility=default -fno-sanitize-trap=cfi -fsanitize-recover=cfi -g /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/cfi/cross-dso/icall/diag.cpp -o /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/cross-dso/icall/Output/diag.cpp.tmp.dir/exe -Wl,-rpath,\$ORIGIN -L/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/cross-dso/icall/Output/diag.cpp.tmp.dir -ldiag.cpp.dynamic
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables --driver-mode=g++ -fsanitize-cfi-cross-dso -fvisibility=default -fno-sanitize-trap=cfi -fsanitize-recover=cfi -g /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/cfi/cross-dso/icall/diag.cpp -o /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/cross-dso/icall/Output/diag.cpp.tmp.dir/exe '-Wl,-rpath,$ORIGIN' -L/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/cross-dso/icall/Output/diag.cpp.tmp.dir -ldiag.cpp.dynamic
# note: command had no output on stdout or stderr
# RUN: at line 13
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/cross-dso/icall/Output/diag.cpp.tmp.dir/exe icv 2>&1 | FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/cfi/cross-dso/icall/diag.cpp --check-prefix=ICALL-DIAG --check-prefix=CAST-DIAG                                     --check-prefix=VCALL-DIAG --check-prefix=ALL-RECOVER
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-traploop-x86_64/cross-dso/icall/Output/diag.cpp.tmp.dir/exe icv
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/cfi/cross-dso/icall/diag.cpp --check-prefix=ICALL-DIAG --check-prefix=CAST-DIAG --check-prefix=VCALL-DIAG --check-prefix=ALL-RECOVER
# .---command stderr------------
# | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/cfi/cross-dso/icall/diag.cpp:116:22: error: ICALL-DIAG-NEXT: expected string not found in input
# |  // ICALL-DIAG-NEXT: note: create_B() defined here
# |                      ^
# | <stdin>:2:228: note: scanning from here
# | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/cfi/cross-dso/icall/diag.cpp:118:9: runtime error: control flow integrity check for type 'void *(int)' failed during indirect function call
# |                                                                                                                                                                                                                                    ^
# | <stdin>:3:49: note: possible intended match here
# | sanitizer/ubsan_interface.h: note: __ubsan_check_cfi_icall_jt defined here
# |                                                 ^
# | 
# | Input file: <stdin>
# | Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/cfi/cross-dso/icall/diag.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: =0= 
# | check:110      ^~~
# |             2: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/cfi/cross-dso/icall/diag.cpp:118:9: runtime error: control flow integrity check for type 'void *(int)' failed during indirect function call 
# | check:115                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:116'0                                                                                                                                                                                                                                        X error: no match found
# |             3: sanitizer/ubsan_interface.h: note: __ubsan_check_cfi_icall_jt defined here 
# | next:116'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:116'1                                                     ?                           possible intended match
...

```

</details>

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


More information about the llvm-commits mailing list