[llvm-branch-commits] [llvm] release/22.x: [SafeStack] Fix crashing with scalable TypeSizes (#180547) (PR #203306)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jun 11 08:54:54 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 129479 tests passed
* 2864 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/safestack_scalar.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=aarch64-linux-gnu -stop-after=safe-stack < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\safestack_scalar.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\safestack_scalar.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=aarch64-linux-gnu -stop-after=safe-stack
# .---command stderr------------
# | LLVM ERROR: Cannot implicitly convert a scalable size to a fixed-width size in `TypeSize::operator ScalarTy()`
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\llc.exe -mtriple=aarch64-linux-gnu -stop-after=safe-stack
# | 1. Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2. Running pass 'Safe Stack instrumentation pass' on function '@test_sve'
# | Exception Code: 0xC000001D
# | #0 0x00007ff6ca668816 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x2c58816)
# | #1 0x00007ffeeec9bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# | #2 0x00007ffeeec9cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# | #3 0x00007ff6c80fbb8a (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x6ebb8a)
# | #4 0x00007ff6c80fb965 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x6eb965)
# | #5 0x00007ff6c80fbcab (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x6ebcab)
# | #6 0x00007ff6c8c7d81d (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x126d81d)
# | #7 0x00007ff6c8c790da (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x12690da)
# | #8 0x00007ff6c8c7fca7 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x126fca7)
# | #9 0x00007ff6c7ec7ca9 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4b7ca9)
# | #10 0x00007ff6c7ed073d (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4c073d)
# | #11 0x00007ff6c7ec8928 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4b8928)
# | #12 0x00007ff6c7a17924 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x7924)
# | #13 0x00007ff6c7a14b96 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4b96)
# | #14 0x00007ff6cc000018 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x45f0018)
# | #15 0x00007ffef81c4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #16 0x00007fff0443edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\safestack_scalar.ll'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\safestack_scalar.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
### lld
<details>
<summary>lld.wasm/lto/thinlto-emit-index.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
rm -rf C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\lto\Output\thinlto-emit-index.ll.tmp && mkdir C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\lto\Output\thinlto-emit-index.ll.tmp && cd C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\lto\Output\thinlto-emit-index.ll.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\lto\Output\thinlto-emit-index.ll.tmp'
# note: command had no output on stdout or stderr
# executed command: mkdir 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\lto\Output\thinlto-emit-index.ll.tmp'
# note: command had no output on stdout or stderr
# executed command: cd 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\lto\Output\thinlto-emit-index.ll.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 5
mkdir d
# executed command: mkdir d
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\llvm-as.exe C:\_work\llvm-project\llvm-project\lld\test\wasm\lto\thinlto-emit-index.ll -o 1.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-as.exe' 'C:\_work\llvm-project\llvm-project\lld\test\wasm\lto\thinlto-emit-index.ll' -o 1.o
# note: command had no output on stdout or stderr
# RUN: at line 7
c:\_work\llvm-project\llvm-project\build\bin\llvm-as.exe C:\_work\llvm-project\llvm-project\lld\test\wasm\lto/Inputs/thinlto.ll -o d/2.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-as.exe' 'C:\_work\llvm-project\llvm-project\lld\test\wasm\lto/Inputs/thinlto.ll' -o d/2.o
# note: command had no output on stdout or stderr
# RUN: at line 8
c:\_work\llvm-project\llvm-project\build\bin\wasm-ld.exe --thinlto-emit-index-files -shared 1.o d/2.o -o 3
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\wasm-ld.exe' --thinlto-emit-index-files -shared 1.o d/2.o -o 3
# .---command stderr------------
# | wasm-ld: warning: creating shared libraries, with -shared, is not yet stable
# `-----------------------------
# RUN: at line 9
ls d/2.o.thinlto.bc
# executed command: ls d/2.o.thinlto.bc
# .---command stdout------------
# | d/2.o.thinlto.bc
# `-----------------------------
# RUN: at line 10
ls 3
# executed command: ls 3
# .---command stdout------------
# | 3
# `-----------------------------
# RUN: at line 11
c:\_work\llvm-project\llvm-project\build\bin\wasm-ld.exe -shared 1.o d/2.o -o 3
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\wasm-ld.exe' -shared 1.o d/2.o -o 3
# .---command stderr------------
# | wasm-ld: warning: creating shared libraries, with -shared, is not yet stable
# `-----------------------------
# RUN: at line 12
c:\_work\llvm-project\llvm-project\build\bin\llvm-nm.exe 3 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\lld\test\wasm\lto\thinlto-emit-index.ll --check-prefix=NM
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-nm.exe' 3
# 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\lld\test\wasm\lto\thinlto-emit-index.ll' --check-prefix=NM
# note: command had no output on stdout or stderr
# RUN: at line 15
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -module-summary C:\_work\llvm-project\llvm-project\lld\test\wasm\lto\thinlto-emit-index.ll -o 1.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -module-summary 'C:\_work\llvm-project\llvm-project\lld\test\wasm\lto\thinlto-emit-index.ll' -o 1.o
# note: command had no output on stdout or stderr
# RUN: at line 16
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -module-summary C:\_work\llvm-project\llvm-project\lld\test\wasm\lto/Inputs/thinlto.ll -o d/2.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -module-summary 'C:\_work\llvm-project\llvm-project\lld\test\wasm\lto/Inputs/thinlto.ll' -o d/2.o
# note: command had no output on stdout or stderr
# RUN: at line 17
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -module-summary C:\_work\llvm-project\llvm-project\lld\test\wasm\lto/Inputs/thinlto_empty.ll -o 3.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -module-summary 'C:\_work\llvm-project\llvm-project\lld\test\wasm\lto/Inputs/thinlto_empty.ll' -o 3.o
# note: command had no output on stdout or stderr
# RUN: at line 18
cp 3.o 4.o
# executed command: cp 3.o 4.o
# note: command had no output on stdout or stderr
# RUN: at line 21
c:\_work\llvm-project\llvm-project\build\bin\wasm-ld.exe --thinlto-emit-index-files -shared 1.o --start-lib d/2.o 3.o --end-lib 4.o -o 4
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\wasm-ld.exe' --thinlto-emit-index-files -shared 1.o --start-lib d/2.o 3.o --end-lib 4.o -o 4
# .---command stderr------------
# | wasm-ld: warning: creating shared libraries, with -shared, is not yet stable
# | wasm-ld: error: 'cannot open 1.o.thinlto.bc': invalid argument
# `-----------------------------
# 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/203306
More information about the llvm-branch-commits
mailing list