[clang] [WIP][analyzer] Use canonical step identification in conjureSymbol (PR #239219)

via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 5 06:52:48 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 58704 tests passed
* 561 tests skipped
* 6 tests failed

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

### Clang
<details>
<summary>Clang.Analysis/loop-widening-notes.cpp</summary>

```
Exit Code: 3221225501

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 -analyze -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false C:\_work\llvm-project\llvm-project\clang\test\Analysis\loop-widening-notes.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 -analyze -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false 'C:\_work\llvm-project\llvm-project\clang\test\Analysis\loop-widening-notes.cpp'
# .---command stderr------------
# | Assertion failed: Elem == CurrStep.getCFGElementRef(), file C:\_work\llvm-project\llvm-project\clang\include\clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h, line 561
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0.	Program arguments: 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 -analyze -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Analysis\\loop-widening-notes.cpp
# | 1.	<eof> parser at end of file
# | 2.	While analyzing stack: 
# | 	#0 Calling test_for_range_loop()
# | Exception Code: 0xC000001D
# |  #0 0x00007ff6353025a6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8e25a6)
# |  #1 0x00007ffcbb04bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ffcbb04cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ffcbb04e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007ffcbb04e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff63d1c0843 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x87a0843)
# |  #6 0x00007ff63d3cf5e9 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x89af5e9)
# |  #7 0x00007ff63cd2a626 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x830a626)
# |  #8 0x00007ff63cdbdb29 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x839db29)
# |  #9 0x00007ff63cdbd95f mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x839d95f)
# | #10 0x00007ff63d452e1a mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8a32e1a)
# | #11 0x00007ff63cdab2a9 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x838b2a9)
# | #12 0x00007ff63cdb9875 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8399875)
# | #13 0x00007ff63cdb9283 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8399283)
# | #14 0x00007ff63cdb8ecd mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8398ecd)
# | #15 0x00007ff63cdb88ac mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x83988ac)
# | #16 0x00007ff63b64b50a mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6c2b50a)
# | #17 0x00007ff63b648de7 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6c28de7)
# | #18 0x00007ff63ac531e7 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x62331e7)
# | #19 0x00007ff637b09a4f (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x30e9a4f)
# | #20 0x00007ff635447350 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xa27350)
# | #21 0x00007ff6354f29f6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xad29f6)
# | #22 0x00007ff634a284dd (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x84dd)
# | #23 0x00007ff634a24050 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4050)
# | #24 0x00007ff634a2288b (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x288b)
# | #25 0x00007ff634a36e85 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x16e85)
# | #26 0x00007ff63d602280 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8be2280)
# | #27 0x00007ffcc5254cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #28 0x00007ffcd1f3edeb (C:\Windows\SYSTEM32\ntdll.dll+0x7edeb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d

--

```
</details>
<details>
<summary>Clang.Analysis/loop-widening-preserve-reference-type.cpp</summary>

```
Exit Code: 3221225501

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 -analyze -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify C:\_work\llvm-project\llvm-project\clang\test\Analysis\loop-widening-preserve-reference-type.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 -analyze -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify 'C:\_work\llvm-project\llvm-project\clang\test\Analysis\loop-widening-preserve-reference-type.cpp'
# .---command stderr------------
# | Assertion failed: Elem == CurrStep.getCFGElementRef(), file C:\_work\llvm-project\llvm-project\clang\include\clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h, line 561
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0.	Program arguments: 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 -analyze -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Analysis\\loop-widening-preserve-reference-type.cpp
# | 1.	<eof> parser at end of file
# | 2.	While analyzing stack: 
# | 	#0 Calling invalid_type_alias_region_access()
# | Exception Code: 0xC000001D
# |  #0 0x00007ff6353025a6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8e25a6)
# |  #1 0x00007ffcbb04bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ffcbb04cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ffcbb04e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007ffcbb04e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff63d1c0843 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x87a0843)
# |  #6 0x00007ff63d3cf5e9 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x89af5e9)
# |  #7 0x00007ff63cd2a626 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x830a626)
# |  #8 0x00007ff63cdbdb29 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x839db29)
# |  #9 0x00007ff63cdbd95f mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x839d95f)
# | #10 0x00007ff63d452e1a mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8a32e1a)
# | #11 0x00007ff63cdab2a9 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x838b2a9)
# | #12 0x00007ff63cdb9875 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8399875)
# | #13 0x00007ff63cdb9283 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8399283)
# | #14 0x00007ff63cdb8ecd mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8398ecd)
# | #15 0x00007ff63cdb88ac mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x83988ac)
# | #16 0x00007ff63b64b50a mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6c2b50a)
# | #17 0x00007ff63b648de7 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6c28de7)
# | #18 0x00007ff63ac531e7 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x62331e7)
# | #19 0x00007ff637b09a4f (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x30e9a4f)
# | #20 0x00007ff635447350 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xa27350)
# | #21 0x00007ff6354f29f6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xad29f6)
# | #22 0x00007ff634a284dd (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x84dd)
# | #23 0x00007ff634a24050 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4050)
# | #24 0x00007ff634a2288b (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x288b)
# | #25 0x00007ff634a36e85 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x16e85)
# | #26 0x00007ff63d602280 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8be2280)
# | #27 0x00007ffcc5254cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #28 0x00007ffcd1f3edeb (C:\Windows\SYSTEM32\ntdll.dll+0x7edeb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d

--

```
</details>
<details>
<summary>Clang.Analysis/loop-widening.c</summary>

```
Exit Code: 3221225501

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 -analyze -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false C:\_work\llvm-project\llvm-project\clang\test\Analysis\loop-widening.c
# 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 -analyze -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false 'C:\_work\llvm-project\llvm-project\clang\test\Analysis\loop-widening.c'
# .---command stderr------------
# | Assertion failed: Elem == CurrStep.getCFGElementRef(), file C:\_work\llvm-project\llvm-project\clang\include\clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h, line 561
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0.	Program arguments: 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 -analyze -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Analysis\\loop-widening.c
# | 1.	<eof> parser at end of file
# | 2.	While analyzing stack: 
# | 	#0 Calling nested_loop_inner_widen
# | Exception Code: 0xC000001D
# |  #0 0x00007ff6353025a6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8e25a6)
# |  #1 0x00007ffcbb04bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ffcbb04cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ffcbb04e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007ffcbb04e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff63d1c0843 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x87a0843)
# |  #6 0x00007ff63d3cf5e9 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x89af5e9)
# |  #7 0x00007ff63cd2a626 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x830a626)
# |  #8 0x00007ff63cdbdb29 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x839db29)
# |  #9 0x00007ff63cdbd95f mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x839d95f)
# | #10 0x00007ff63d452e1a mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8a32e1a)
# | #11 0x00007ff63cdab2a9 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x838b2a9)
# | #12 0x00007ff63cdb9875 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8399875)
# | #13 0x00007ff63cdb9283 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8399283)
# | #14 0x00007ff63cdb8ecd mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8398ecd)
# | #15 0x00007ff63cdb88ac mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x83988ac)
# | #16 0x00007ff63b64b50a mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6c2b50a)
# | #17 0x00007ff63b648de7 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6c28de7)
# | #18 0x00007ff63ac531e7 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x62331e7)
# | #19 0x00007ff637b09a4f (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x30e9a4f)
# | #20 0x00007ff635447350 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xa27350)
# | #21 0x00007ff6354f29f6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xad29f6)
# | #22 0x00007ff634a284dd (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x84dd)
# | #23 0x00007ff634a24050 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4050)
# | #24 0x00007ff634a2288b (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x288b)
# | #25 0x00007ff634a36e85 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x16e85)
# | #26 0x00007ff63d602280 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8be2280)
# | #27 0x00007ffcc5254cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #28 0x00007ffcd1f3edeb (C:\Windows\SYSTEM32\ntdll.dll+0x7edeb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d

--

```
</details>
<details>
<summary>Clang.Analysis/loop-widening.cpp</summary>

```
Exit Code: 3221225501

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 -analyze -setup-static-analyzer -verify C:\_work\llvm-project\llvm-project\clang\test\Analysis\loop-widening.cpp    -analyzer-checker=core    -analyzer-config widen-loops=true    -analyzer-config track-conditions=false    -analyzer-max-loop 2 -analyzer-output=text
# 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 -analyze -setup-static-analyzer -verify 'C:\_work\llvm-project\llvm-project\clang\test\Analysis\loop-widening.cpp' -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-config track-conditions=false -analyzer-max-loop 2 -analyzer-output=text
# .---command stderr------------
# | Assertion failed: Elem == CurrStep.getCFGElementRef(), file C:\_work\llvm-project\llvm-project\clang\include\clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h, line 561
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0.	Program arguments: 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 -analyze -setup-static-analyzer -verify C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Analysis\\loop-widening.cpp -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-config track-conditions=false -analyzer-max-loop 2 -analyzer-output=text
# | 1.	<eof> parser at end of file
# | 2.	While analyzing stack: 
# | 	#0 Calling pr43102::fn1()
# | Exception Code: 0xC000001D
# |  #0 0x00007ff6353025a6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8e25a6)
# |  #1 0x00007ffcbb04bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ffcbb04cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ffcbb04e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007ffcbb04e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff63d1c0843 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x87a0843)
# |  #6 0x00007ff63d3cf5e9 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x89af5e9)
# |  #7 0x00007ff63cd2a626 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x830a626)
# |  #8 0x00007ff63cdbdb29 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x839db29)
# |  #9 0x00007ff63cdbd95f mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x839d95f)
# | #10 0x00007ff63d452e1a mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8a32e1a)
# | #11 0x00007ff63cdab2a9 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x838b2a9)
# | #12 0x00007ff63cdb9875 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8399875)
# | #13 0x00007ff63cdb9283 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8399283)
# | #14 0x00007ff63cdb8ecd mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8398ecd)
# | #15 0x00007ff63cdb88ac mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x83988ac)
# | #16 0x00007ff63b64b50a mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6c2b50a)
# | #17 0x00007ff63b648de7 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6c28de7)
# | #18 0x00007ff63ac531e7 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x62331e7)
# | #19 0x00007ff637b09a4f (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x30e9a4f)
# | #20 0x00007ff635447350 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xa27350)
# | #21 0x00007ff6354f29f6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xad29f6)
# | #22 0x00007ff634a284dd (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x84dd)
# | #23 0x00007ff634a24050 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4050)
# | #24 0x00007ff634a2288b (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x288b)
# | #25 0x00007ff634a36e85 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x16e85)
# | #26 0x00007ff63d602280 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8be2280)
# | #27 0x00007ffcc5254cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #28 0x00007ffcd1f3edeb (C:\Windows\SYSTEM32\ntdll.dll+0x7edeb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d

--

```
</details>
<details>
<summary>Clang.Analysis/temporaries.cpp</summary>

```
Exit Code: 3221225501

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 -analyze -setup-static-analyzer -w -analyzer-checker=core,cplusplus     -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs     -analyzer-config eagerly-assume=false -verify C:\_work\llvm-project\llvm-project\clang\test\Analysis\temporaries.cpp     -std=c++03 -analyzer-config cfg-temporary-dtors=false
# 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 -analyze -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify 'C:\_work\llvm-project\llvm-project\clang\test\Analysis\temporaries.cpp' -std=c++03 -analyzer-config cfg-temporary-dtors=false
# .---command stderr------------
# | Assertion failed: SF == CurrStep.getCurrStackFrame(), file C:\_work\llvm-project\llvm-project\clang\include\clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h, line 562
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0.	Program arguments: 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 -analyze -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Analysis\\temporaries.cpp -std=c++03 -analyzer-config cfg-temporary-dtors=false
# | 1.	<eof> parser at end of file
# | 2.	While analyzing stack: 
# | 	#0 Calling return_from_top_frame::foo() at line 1223
# | 	#1 Calling return_from_top_frame::bar3(int)
# | 3.	C:\_work\llvm-project\llvm-project\clang\test\Analysis\temporaries.cpp:1211:10: Error evaluating statement
# | 4.	C:\_work\llvm-project\llvm-project\clang\test\Analysis\temporaries.cpp:1211:10: Error evaluating statement
# | Exception Code: 0xC000001D
# |  #0 0x00007ff6353025a6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8e25a6)
# |  #1 0x00007ffcbb04bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ffcbb04cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ffcbb04e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007ffcbb04e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff63d1c086a mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x87a086a)
# |  #6 0x00007ff63d3cf5e9 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x89af5e9)
# |  #7 0x00007ff63d430f7f mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8a10f7f)
# |  #8 0x00007ff63d430c8f mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8a10c8f)
# |  #9 0x00007ff63d430c8f mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8a10c8f)
# | #10 0x00007ff63d430962 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8a10962)
# | #11 0x00007ff63d42da92 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8a0da92)
# | #12 0x00007ff63d432c93 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8a12c93)
# | #13 0x00007ff63cda21c4 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x83821c4)
# | #14 0x00007ff63cd9f4aa mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x837f4aa)
# | #15 0x00007ff63cdba039 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x839a039)
# | #16 0x00007ff63cdb9384 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8399384)
# | #17 0x00007ff63cdb8ecd mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8398ecd)
# | #18 0x00007ff63cdb88ac mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x83988ac)
# | #19 0x00007ff63b64b50a mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6c2b50a)
# | #20 0x00007ff63b648de7 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6c28de7)
# | #21 0x00007ff63ac531e7 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x62331e7)
# | #22 0x00007ff637b09a4f (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x30e9a4f)
# | #23 0x00007ff635447350 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xa27350)
# | #24 0x00007ff6354f29f6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xad29f6)
# | #25 0x00007ff634a284dd (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x84dd)
# | #26 0x00007ff634a24050 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4050)
# | #27 0x00007ff634a2288b (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x288b)
# | #28 0x00007ff634a36e85 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x16e85)
# | #29 0x00007ff63d602280 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8be2280)
# | #30 0x00007ffcc5254cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #31 0x00007ffcd1f3edeb (C:\Windows\SYSTEM32\ntdll.dll+0x7edeb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d

--

```
</details>
<details>
<summary>Clang.Analysis/this-pointer.cpp</summary>

```
Exit Code: 3221225501

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 -analyze -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify C:\_work\llvm-project\llvm-project\clang\test\Analysis\this-pointer.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 -analyze -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify 'C:\_work\llvm-project\llvm-project\clang\test\Analysis\this-pointer.cpp'
# .---command stderr------------
# | Assertion failed: Elem == CurrStep.getCFGElementRef(), file C:\_work\llvm-project\llvm-project\clang\include\clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h, line 561
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0.	Program arguments: 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 -analyze -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Analysis\\this-pointer.cpp
# | 1.	<eof> parser at end of file
# | 2.	While analyzing stack: 
# | 	#0 Calling this_pointer_after_loop_widen::E::set() at line 85
# | 	#1 Calling this_pointer_after_loop_widen::test_chained_method_call()
# | Exception Code: 0xC000001D
# |  #0 0x00007ff6353025a6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8e25a6)
# |  #1 0x00007ffcbb04bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ffcbb04cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ffcbb04e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007ffcbb04e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff63d1c0843 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x87a0843)
# |  #6 0x00007ff63d3cf5e9 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x89af5e9)
# |  #7 0x00007ff63cd2a626 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x830a626)
# |  #8 0x00007ff63cdbdb29 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x839db29)
# |  #9 0x00007ff63cdbd95f mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x839d95f)
# | #10 0x00007ff63d452e1a mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8a32e1a)
# | #11 0x00007ff63cdab2a9 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x838b2a9)
# | #12 0x00007ff63cdb9875 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8399875)
# | #13 0x00007ff63cdb9283 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8399283)
# | #14 0x00007ff63cdb8ecd mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8398ecd)
# | #15 0x00007ff63cdb88ac mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x83988ac)
# | #16 0x00007ff63b64b50a mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6c2b50a)
# | #17 0x00007ff63b648de7 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6c28de7)
# | #18 0x00007ff63ac531e7 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x62331e7)
# | #19 0x00007ff637b09a4f (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x30e9a4f)
# | #20 0x00007ff635447350 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xa27350)
# | #21 0x00007ff6354f29f6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xad29f6)
# | #22 0x00007ff634a284dd (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x84dd)
# | #23 0x00007ff634a24050 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4050)
# | #24 0x00007ff634a2288b (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x288b)
# | #25 0x00007ff634a36e85 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x16e85)
# | #26 0x00007ff63d602280 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x8be2280)
# | #27 0x00007ffcc5254cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #28 0x00007ffcd1f3edeb (C:\Windows\SYSTEM32\ntdll.dll+0x7edeb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d

--

```
</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/239219


More information about the cfe-commits mailing list