[clang] [analyzer][Solver] Early return if sym is concrete on assuming (PR #115579)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 15 00:58:46 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `clang` at step 7 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/7928
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-two-iterations.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -cc1 -internal-isystem Z:\b\llvm-clang-x86_64-sie-win\build\lib\clang\20\include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Analysis\symbol-simplification-fixpoint-two-iterations.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection 2>&1 | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Analysis\symbol-simplification-fixpoint-two-iterations.cpp
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -cc1 -internal-isystem 'Z:\b\llvm-clang-x86_64-sie-win\build\lib\clang\20\include' -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Analysis\symbol-simplification-fixpoint-two-iterations.cpp' -analyzer-checker=core -analyzer-checker=debug.ExprInspection
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Analysis\symbol-simplification-fixpoint-two-iterations.cpp'
# .---command stderr------------
# | [1mZ:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Analysis\symbol-simplification-fixpoint-two-iterations.cpp:31:17: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0m // CHECK-NEXT: { "symbol": "((reg_$0<int a>) + (reg_$2<int c>)) != (reg_$3<int d>)", "range": "{ [0, 0] }" },
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:26:18: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0m "constraints": [
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:27:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m { "symbol": "(reg_$0<int a>) != (reg_$3<int d>)", "range": "{ [0, 0] }" },
# | [0;1;32m ^
[0m# | [0;1;32m[0m
# | Input file: <stdin>
# | Check file: Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Analysis\symbol-simplification-fixpoint-two-iterations.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | [1m[0m[0;1;30m 1: [0m[1m[0;1;46m"program_state": { [0m
# | [0;1;30m 2: [0m[1m[0;1;46m "store": null, [0m
# | [0;1;30m 3: [0m[1m[0;1;46m "environment": { "pointer": "0x18a8bcdd400", "items": [ [0m
# | [0;1;30m 4: [0m[1m[0;1;46m { "lctx_id": 1, "location_context": "#0 Call", "calling": "test", "location": null, "items": [ [0m
# | [0;1;30m 5: [0m[1m[0;1;46m { "stmt_id": 809, "kind": "ImplicitCastExpr", "pretty": "clang_analyzer_printState", "value": "&code{clang_analyzer_printState}" } [0m
# | [0;1;30m 6: [0m[1m[0;1;46m ]} [0m
# | [0;1;30m 7: [0m[1m[0;1;46m ]}, [0m
# | [0;1;30m 8: [0m[1m[0;1;46m [0m"constraints": [[0;1;46m [0m
# | [0;1;32mcheck:17 ^~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 9: [0m[1m[0;1;46m [0m{ "symbol": "(((reg_$0<int a>) + (reg_$1<int b>)) + (reg_$2<int c>)) != (reg_$3<int d>)", "range": "{ [0, 0] }" },[0;1;46m [0m
# | [0;1;32mnext:18 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 10: [0m[1m[0;1;46m [0m{ "symbol": "(reg_$2<int c>) + (reg_$1<int b>)", "range": "{ [0, 0] }" }[0;1;46m [0m
# | [0;1;32mnext:19 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 11: [0m[1m[0;1;46m [0m],[0;1;46m [0m
# | [0;1;32mnext:20 ^~
[0m# | [0;1;32m[0m[0;1;30m 12: [0m[1m[0;1;46m [0m"equivalence_classes": [[0;1;46m [0m
# | [0;1;32mnext:21 ^~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 13: [0m[1m[0;1;46m [0m[ "((reg_$0<int a>) + (reg_$1<int b>)) + (reg_$2<int c>)", "reg_$3<int d>" ][0;1;46m [0m
# | [0;1;32mnext:22 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 14: [0m[1m[0;1;46m [0m],[0;1;46m [0m
# | [0;1;32mnext:23 ^~
[0m# | [0;1;32m[0m[0;1;30m 15: [0m[1m[0;1;46m [0m"disequality_info": null,[0;1;46m [0m
# | [0;1;32mnext:24 ^~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/115579
More information about the cfe-commits
mailing list