[clang] Fix MSVC template parsing error in SerializationFormat (PR #196571)
via cfe-commits
cfe-commits at lists.llvm.org
Fri May 8 10:20:09 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 53875 tests passed
* 1200 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Analysis/Scalable/PointerFlow/wpa-result-serialization.test</summary>
```
Exit Code: 3221225477
Command Output (stdout):
--
# RUN: at line 1
rm -rf C:\_work\llvm-project\llvm-project\build\tools\clang\test\Analysis\Scalable\PointerFlow\Output\wpa-result-serialization.test.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Analysis\Scalable\PointerFlow\Output\wpa-result-serialization.test.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 2
mkdir -p C:\_work\llvm-project\llvm-project\build\tools\clang\test\Analysis\Scalable\PointerFlow\Output\wpa-result-serialization.test.tmp
# executed command: mkdir -p 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Analysis\Scalable\PointerFlow\Output\wpa-result-serialization.test.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe --type wpa C:\_work\llvm-project\llvm-project\clang\test\Analysis\Scalable\PointerFlow/Inputs/wpa-result.json -o C:\_work\llvm-project\llvm-project\build\tools\clang\test\Analysis\Scalable\PointerFlow\Output\wpa-result-serialization.test.tmp/wpa-result.json
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe' --type wpa 'C:\_work\llvm-project\llvm-project\clang\test\Analysis\Scalable\PointerFlow/Inputs/wpa-result.json' -o 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Analysis\Scalable\PointerFlow\Output\wpa-result-serialization.test.tmp/wpa-result.json'
# .---command stderr------------
# | 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\\clang-ssaf-format.exe --type wpa C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Analysis\\Scalable\\PointerFlow/Inputs/wpa-result.json -o C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Analysis\\Scalable\\PointerFlow\\Output\\wpa-result-serialization.test.tmp/wpa-result.json
# | Exception Code: 0xC0000005
# | #0 0x0000000000000000
# | #1 0x00007ff6f680eb82 (c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe+0x2eb82)
# | #2 0x00007ff6f68cdfd9 (c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe+0xedfd9)
# | #3 0x00007ff6f68ceb6b (c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe+0xeeb6b)
# | #4 0x00007ff6f68cff24 (c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe+0xeff24)
# | #5 0x00007ff6f67e2830 (c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe+0x2830)
# | #6 0x00007ff6f70e067c (c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe+0x90067c)
# | #7 0x00007ffb813c4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #8 0x00007ffb8d79edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc0000005
--
```
</details>
<details>
<summary>Clang.Analysis/Scalable/UnsafeBufferUsage/wpa-result-serialization.test</summary>
```
Exit Code: 3221225477
Command Output (stdout):
--
# RUN: at line 1
rm -rf C:\_work\llvm-project\llvm-project\build\tools\clang\test\Analysis\Scalable\UnsafeBufferUsage\Output\wpa-result-serialization.test.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Analysis\Scalable\UnsafeBufferUsage\Output\wpa-result-serialization.test.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 2
mkdir -p C:\_work\llvm-project\llvm-project\build\tools\clang\test\Analysis\Scalable\UnsafeBufferUsage\Output\wpa-result-serialization.test.tmp
# executed command: mkdir -p 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Analysis\Scalable\UnsafeBufferUsage\Output\wpa-result-serialization.test.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe --type wpa C:\_work\llvm-project\llvm-project\clang\test\Analysis\Scalable\UnsafeBufferUsage/Inputs/wpa-result.json -o C:\_work\llvm-project\llvm-project\build\tools\clang\test\Analysis\Scalable\UnsafeBufferUsage\Output\wpa-result-serialization.test.tmp/wpa-result.json
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe' --type wpa 'C:\_work\llvm-project\llvm-project\clang\test\Analysis\Scalable\UnsafeBufferUsage/Inputs/wpa-result.json' -o 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Analysis\Scalable\UnsafeBufferUsage\Output\wpa-result-serialization.test.tmp/wpa-result.json'
# .---command stderr------------
# | 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\\clang-ssaf-format.exe --type wpa C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Analysis\\Scalable\\UnsafeBufferUsage/Inputs/wpa-result.json -o C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Analysis\\Scalable\\UnsafeBufferUsage\\Output\\wpa-result-serialization.test.tmp/wpa-result.json
# | Exception Code: 0xC0000005
# | #0 0x0000000000000000
# | #1 0x00007ff6f680eb82 (c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe+0x2eb82)
# | #2 0x00007ff6f68cdfd9 (c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe+0xedfd9)
# | #3 0x00007ff6f68ceb6b (c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe+0xeeb6b)
# | #4 0x00007ff6f68cff24 (c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe+0xeff24)
# | #5 0x00007ff6f67e2830 (c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe+0x2830)
# | #6 0x00007ff6f70e067c (c:\_work\llvm-project\llvm-project\build\bin\clang-ssaf-format.exe+0x90067c)
# | #7 0x00007ffb813c4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #8 0x00007ffb8d79edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc0000005
--
```
</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/196571
More information about the cfe-commits
mailing list