github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 51417 tests passed
* 852 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGen/ubsan-aggregate-null-align.c</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\22\include -nostdsysteminc
-triple x86_64-linux-gnu -fsanitize=alignment,null -emit-llvm -std=c23
C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-aggregate-null-align.c
-o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-aggregate-null-align.c
--check-prefixes=CHECK,CHECK-UBSAN
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\22\include' -nostdsysteminc
-triple x86_64-linux-gnu -fsanitize=alignment,null -emit-llvm -std=c23
'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-aggregate-null-align.c'
-o -
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-aggregate-null-align.c'
--check-prefixes=CHECK,CHECK-UBSAN
# .---command stderr------------
# |
C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-aggregate-null-align.c:59:18:
error: CHECK-UBSAN: expected string not found in input
# | // CHECK-UBSAN: %[[DEST_LOAD:.*]] = load ptr, ptr %dest.addr
# | ^
# | <stdin>:67:30: note: scanning from here
# | %6 = load ptr, ptr %src.addr, align 8
# | ^
# | <stdin>:80:33: note: possible intended match here
# | call void @llvm.memcpy.p0.p0.i64(ptr align 16 %0, ptr align 16 %6, i64 16,
i1 false)
# | ^
# |
C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-aggregate-null-align.c:105:18:
error: CHECK-UBSAN: expected string not found in input
# | // CHECK-UBSAN: call void @llvm.memcpy.p0.p0.i64(ptr align 16 %arrayidx1,
ptr align 16 %arrayidx, i64 16, i1 false)
# | ^
# | <stdin>:94:65: note: scanning from here
# | %arrayidx1 = getelementptr inbounds [3 x %struct.AlignedStruct], ptr %src,
i64 0, i64 0
# | ^
# | <stdin>:95:2: note: possible intended match here
# | call void @llvm.memcpy.p0.p0.i64(ptr align 16 %arrayidx, ptr align 16
%arrayidx1, i64 16, i1 false)
# | ^
# |
# | Input file: <stdin>
# | Check file:
C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-aggregate-null-align.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 62: handler.type_mismatch: ; preds = %entry
# | 63: call void @__ubsan_handle_type_mismatch_v1_abort(ptr @1,
i64 %2) #3, !nosanitize !2
# | 64: unreachable, !nosanitize !2
# | 65:
# | 66: cont: ; preds = %entry
# | 67: %6 = load ptr, ptr %src.addr, align 8
# | check:59'0 X~~~~~~~~~ error: no match
found
# | 68: %7 = icmp ne ptr %6, null, !nosanitize !2
# | check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 69: %8 = ptrtoint ptr %6 to i64, !nosanitize !2
# | check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 70: %9 = and i64 %8, 15, !nosanitize !2
# | check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 71: %10 = icmp eq i64 %9, 0, !nosanitize !2
# | check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 72: %11 = and i1 %7, %10, !nosanitize !2
# | check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 75: handler.type_mismatch1: ; preds = %cont
# | check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 76: call void @__ubsan_handle_type_mismatch_v1_abort(ptr @2,
i64 %8) #3, !nosanitize !2
# | check:59'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 77: unreachable, !nosanitize !2
# | check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 78:
# | check:59'0 ~
# | 79: cont2: ; preds = %cont
# | check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 80: call void @llvm.memcpy.p0.p0.i64(ptr align 16 %0, ptr
align 16 %6, i64 16, i1 false)
# | check:59'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:59'1 ?
possible intended match
# | 81: ret void
# | check:59'0 ~~~~~~~~~~
# | 82: }
# | check:59'0 ~~
# | 83:
# | check:59'0 ~
# | 84: ; Function Attrs: noreturn nounwind uwtable
# | check:59'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 85: declare void @__ubsan_handle_type_mismatch_v1_abort(ptr,
i64) #2
# | check:59'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 89: entry:
# | 90: %src = alloca [3 x %struct.AlignedStruct], align 16
# | 91: %dest = alloca [3 x %struct.AlignedStruct], align 16
# | 92: call void @llvm.memcpy.p0.p0.i64(ptr align 16 %src, ptr
align 16 @__const.test_array_copy.src, i64 48, i1 false)
# | 93: %arrayidx = getelementptr inbounds [3 x
%struct.AlignedStruct], ptr %dest, i64 0, i64 0
# | 94: %arrayidx1 = getelementptr inbounds [3 x
%struct.AlignedStruct], ptr %src, i64 0, i64 0
# | check:105'0
X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 95: call void @llvm.memcpy.p0.p0.i64(ptr align 16 %arrayidx,
ptr align 16 %arrayidx1, i64 16, i1 false)
# | check:105'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:105'1 ?
possible intended match
# | 96: %arrayidx2 = getelementptr inbounds [3 x
%struct.AlignedStruct], ptr %dest, i64 0, i64 1
# | check:105'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 97: %0 = icmp ne ptr %arrayidx2, null, !nosanitize !2
# | check:105'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 98: %1 = ptrtoint ptr %arrayidx2 to i64, !nosanitize !2
# | check:105'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 99: %2 = and i64 %1, 15, !nosanitize !2
# | check:105'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 100: %3 = icmp eq i64 %2, 0, !nosanitize !2
# | check:105'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CodeGenCXX/ubsan-new-checks.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\22\include -nostdsysteminc
-triple x86_64-linux-gnu -std=c++11 -emit-llvm -fsanitize=alignment
C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\ubsan-new-checks.cpp
-o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\ubsan-new-checks.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\22\include' -nostdsysteminc
-triple x86_64-linux-gnu -std=c++11 -emit-llvm -fsanitize=alignment
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\ubsan-new-checks.cpp'
-o -
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\ubsan-new-checks.cpp'
# .---command stderr------------
# |
C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\ubsan-new-checks.cpp:143:16:
error: CHECK-NOT: excluded string found in input
# | // CHECK-NOT: and i64
# | ^
# | <stdin>:372:7: note: found here
# | %5 = and i64 %4, 31, !nosanitize !2
# | ^~~~~~~
# |
# | Input file: <stdin>
# | Check file:
C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\ubsan-new-checks.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 367: unreachable, !nosanitize !2
# | 368:
# | 369: cont: ; preds = %entry
# | 370: %3 = load ptr, ptr %ptr.addr, align 8
# | 371: %4 = ptrtoint ptr %3 to i64, !nosanitize !2
# | 372: %5 = and i64 %4, 31, !nosanitize !2
# | not:143 !~~~~~~ error: no match expected
# | 373: %6 = icmp eq i64 %5, 0, !nosanitize !2
# | 374: br i1 %6, label %cont2, label %handler.type_mismatch1, !prof
!3, !nosanitize !2
# | 375:
# | 376: handler.type_mismatch1: ; preds = %cont
# | 377: call void @__ubsan_handle_type_mismatch_v1_abort(ptr @23, i64
%4) #6, !nosanitize !2
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/164548
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits