[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: Windows-->
# :window: Windows x64 Test Results
* 59436 tests passed
* 561 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
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple x86_64-pc-windows-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=CHECK --check-prefix=NOBL C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple x86_64-pc-windows-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=CHECK --check-prefix=NOBL 'C:\_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]" > C:\_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::*" >> C:\_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
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple x86_64-pc-windows-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -fsanitize-ignorelist=C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\cfi-ignorelist.cpp.tmp.vcall.txt -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=CHECK --check-prefix=NOSTD C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple x86_64-pc-windows-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall '-fsanitize-ignorelist=C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\cfi-ignorelist.cpp.tmp.vcall.txt' -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=CHECK --check-prefix=NOSTD 'C:\_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]" > C:\_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::*" >> C:\_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
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple x86_64-pc-windows-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -fsanitize-ignorelist=C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\cfi-ignorelist.cpp.tmp.cfi.txt -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=CHECK --check-prefix=NOSTD C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple x86_64-pc-windows-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall '-fsanitize-ignorelist=C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\cfi-ignorelist.cpp.tmp.cfi.txt' -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=CHECK --check-prefix=NOSTD 'C:\_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]" > C:\_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::*" >> C:\_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
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple x86_64-pc-windows-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall -fsanitize-ignorelist=C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\cfi-ignorelist.cpp.tmp.other.txt -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=CHECK --check-prefix=NOBL C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple x86_64-pc-windows-gnu -fvisibility=hidden -fms-extensions -fsanitize=cfi-vcall '-fsanitize-ignorelist=C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\cfi-ignorelist.cpp.tmp.other.txt' -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=CHECK --check-prefix=NOBL 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 18
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_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=C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\cfi-ignorelist.cpp.tmp.vcall.txt -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=NOSTD-WPD C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_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=C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\cfi-ignorelist.cpp.tmp.vcall.txt' -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=NOSTD-WPD 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 19
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_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=C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\cfi-ignorelist.cpp.tmp.vcall.txt -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=NOSTD-VFE C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_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=C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\cfi-ignorelist.cpp.tmp.vcall.txt' -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=NOSTD-VFE 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\cfi-ignorelist.cpp'
# .---command stderr------------
# | C:\_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: C:\_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