[llvm-branch-commits] [clang] [compiler-rt] [test][Clang][CFI] Precommit tests for cfi-vcall checked loads (PR #241638)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Nov 12 04:50:51 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 64625 tests passed
* 841 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.CodeGenCXX/cfi-ignorelist.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CHECK --check-prefix=NOBL /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CHECK --check-prefix=NOBL /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# note: command had no output on stdout or stderr
# RUN: at line 4
echo "[cfi-vcall]" > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.vcall.txt
# executed command: echo '[cfi-vcall]'
# note: command had no output on stdout or stderr
# RUN: at line 5
echo "type:std::*" >> /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.vcall.txt
# executed command: echo 'type:std::*'
# note: command had no output on stdout or stderr
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -fsanitize-ignorelist=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.vcall.txt -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CHECK --check-prefix=NOSTD /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -fsanitize-ignorelist=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.vcall.txt -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CHECK --check-prefix=NOSTD /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# note: command had no output on stdout or stderr
# RUN: at line 8
echo "[cfi]" > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.cfi.txt
# executed command: echo '[cfi]'
# note: command had no output on stdout or stderr
# RUN: at line 9
echo "type:std::*" >> /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.cfi.txt
# executed command: echo 'type:std::*'
# 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 -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -fsanitize-ignorelist=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.cfi.txt -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CHECK --check-prefix=NOSTD /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -fsanitize-ignorelist=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.cfi.txt -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CHECK --check-prefix=NOSTD /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# note: command had no output on stdout or stderr
# RUN: at line 13
echo "[cfi-icall|cfi-nvcall|cfi-cast-strict|cfi-derived-cast|cfi-unrelated-cast]" > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.other.txt
# executed command: echo '[cfi-icall|cfi-nvcall|cfi-cast-strict|cfi-derived-cast|cfi-unrelated-cast]'
# note: command had no output on stdout or stderr
# RUN: at line 14
echo "type:std::*" >> /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.other.txt
# executed command: echo 'type:std::*'
# 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 -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -fsanitize-ignorelist=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.other.txt -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CHECK --check-prefix=NOBL /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -fsanitize-ignorelist=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.other.txt -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CHECK --check-prefix=NOBL /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# note: command had no output on stdout or stderr
# RUN: at line 18
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-unknown-linux -flto -flto-unit -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -fwhole-program-vtables -fsanitize-ignorelist=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.vcall.txt -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=NOSTD-WPD /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-unknown-linux -flto -flto-unit -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -fwhole-program-vtables -fsanitize-ignorelist=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.vcall.txt -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=NOSTD-WPD /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# note: command had no output on stdout or stderr
# RUN: at line 19
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-unknown-linux -flto -flto-unit -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -fwhole-program-vtables -fvirtual-function-elimination -fsanitize-ignorelist=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.vcall.txt -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=NOSTD-VFE /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-unknown-linux -flto -flto-unit -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -fwhole-program-vtables -fvirtual-function-elimination -fsanitize-ignorelist=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CodeGenCXX/Output/cfi-ignorelist.cpp.tmp.vcall.txt -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=NOSTD-VFE /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp:75:15: error: NOSTD-VFE: expected string not found in input
# | // NOSTD-VFE: call { ptr, i1 } @llvm.type.checked.load(ptr {{.*}}, i32 0, metadata !"_ZTS13DerivedFromS2")
# |               ^
# | <stdin>:48:27: note: scanning from here
# | define hidden void @_Z3d2fP13DerivedFromS2(ptr noundef %d) #0 !guid !8 {
# |                           ^
# | <stdin>:54:7: note: possible intended match here
# |  %1 = call { ptr, i1 } @llvm.type.checked.load(ptr %vtable, i32 0, metadata !"_ZTSSt2S2"), !nosanitize !5
# |       ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/cfi-ignorelist.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            43:  call void %3(ptr noundef nonnull align 8 dereferenceable(8) %0) 
# |            44:  ret void 
# |            45: } 
# |            46:  
# |            47: ; Function Attrs: mustprogress noinline nounwind optnone 
# |            48: define hidden void @_Z3d2fP13DerivedFromS2(ptr noundef %d) #0 !guid !8 { 
# | check:75'0                              {                                                 search range start (exclusive)
# | check:75'1                                                                                error: no match found in search range
# |            49: entry: 
# |            50:  %d.addr = alloca ptr, align 8 
# |            51:  store ptr %d, ptr %d.addr, align 8 
# |            52:  %0 = load ptr, ptr %d.addr, align 8 
# |            53:  %vtable = load ptr, ptr %0, align 8 
# |            54:  %1 = call { ptr, i1 } @llvm.type.checked.load(ptr %vtable, i32 0, metadata !"_ZTSSt2S2"), !nosanitize !5 
# | check:75'2           ?                                                                                                     possible intended match
# |            55:  %2 = extractvalue { ptr, i1 } %1, 1, !nosanitize !5 
# |            56:  %3 = extractvalue { ptr, i1 } %1, 0, !nosanitize !5 
# |            57:  call void %3(ptr noundef nonnull align 8 dereferenceable(8) %0) 
# |            58:  ret void 
# |            59: } 
# |             .
# |             .
# |             .
# |            80: ^1 = gv: (name: "_Z3d2fP13DerivedFromS2", summaries: (function: (module: ^0, flags: (linkage: external, visibility: hidden, notEligibleToImport: 1, live: 0, dsoLocal: 1, canAutoHide: 0, importType: definition, noRenameOnPromotion: 0), insts: 9, funcFlags: (readNone: 0, readOnly: 0, noRecurse: 0, returnDoesNotAlias: 0, noInline: 1, alwaysInline: 0, noUnwind: 1, mayThrow: 0, hasUnknownCall: 1, mustBeUnreachable: 0), typeIdInfo: (typeCheckedLoadConstVCalls: ((vFuncId: (guid: 18363776926143201732, offset: 0))))))) ; guid = 3662724629322144503 
# |            81: ^2 = gv: (name: "_Z3s1fP2S1", summaries: (function: (module: ^0, flags: (linkage: external, visibility: hidden, notEligibleToImport: 1, live: 0, dsoLocal: 1, canAutoHide: 0, importType: definition, noRenameOnPromotion: 0), insts: 12, funcFlags: (readNone: 0, readOnly: 0, noRecurse: 0, returnDoesNotAlias: 0, noInline: 1, alwaysInline: 0, noUnwind: 1, mayThrow: 0, hasUnknownCall: 1, mustBeUnreachable: 0), calls: ((callee: ^3)), typeIdInfo: (typeCheckedLoadConstVCalls: ((vFuncId: (guid: 13482744918628261578, offset: 0))))))) ; guid = 7041213465930883840 
# |            82: ^3 = gv: (name: "__ubsan_handle_cfi_check_fail_abort") ; guid = 10681098844389289238 
# |            83: ^4 = gv: (name: "_Z3s2fPSt2S2", summaries: (function: (module: ^0, flags: (linkage: external, visibility: hidden, notEligibleToImport: 1, live: 0, dsoLocal: 1, canAutoHide: 0, importType: definition, noRenameOnPromotion: 0), insts: 9, funcFlags: (readNone: 0, readOnly: 0, noRecurse: 0, returnDoesNotAlias: 0, noInline: 1, alwaysInline: 0, noUnwind: 1, mayThrow: 0, hasUnknownCall: 1, mustBeUnreachable: 0), typeIdInfo: (typeCheckedLoadConstVCalls: ((vFuncId: (guid: 18363776926143201732, offset: 0))))))) ; guid = 14773393681412126132 
# |            84: ^5 = flags: 8 
# |            85: ^6 = blockcount: 0 
# | check:75'3                        } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/241638


More information about the llvm-branch-commits mailing list