ninja: Entering directory `out/gn' [1/11] LINK ./bin/llvm-ar.exe [2/11] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:win) [3/11] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:win) [4/11] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:win) [5/11] STAMP obj/llvm/tools/llvm-ar/llvm-dlltool.stamp [6/11] STAMP obj/llvm/tools/llvm-ar/llvm-lib.stamp [7/11] STAMP obj/llvm/tools/llvm-ar/llvm-ranlib.stamp [8/11] STAMP obj/llvm/tools/llvm-ar/symlinks.stamp [9/11] STAMP obj/clang/test/test.stamp [9/11] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:win) llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:57: note: using lit tools: C:\src\depot_tools\win_tools-2_7_6_bin2\git\usr\bin llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:502: note: using clang: c:\src\llvm-project\out\gn\bin\clang.exe llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:502: note: using ld.lld: c:\src\llvm-project\out\gn\bin\ld.lld.exe llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:502: note: using lld-link: c:\src\llvm-project\out\gn\bin\lld-link.exe llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:502: note: using ld64.lld: c:\src\llvm-project\out\gn\bin\ld64.lld.exe llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:502: note: using wasm-ld: c:\src\llvm-project\out\gn\bin\wasm-ld.exe -- Testing: 19489 tests, 48 workers -- Testing: FAIL: Clang :: CodeGen/attr-counted-by.c (1 of 19489) ******************** TEST 'Clang :: CodeGen/attr-counted-by.c' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 2 c:\src\llvm-project\out\gn\bin\clang.exe -cc1 -internal-isystem C:\src\llvm-project\out\gn\lib\clang\18\include -nostdsysteminc -triple x86_64-unknown-linux-gnu -DCOUNTED_BY -O2 -Wall -fsanitize=array-bounds,object-size,local-bounds -fstrict-flex-arrays=3 -emit-llvm -o - C:\src\llvm-project\clang\test\CodeGen\attr-counted-by.c | c:\src\llvm-project\out\gn\bin\filecheck.exe --check-prefix=SANITIZE-WITH-ATTR C:\src\llvm-project\clang\test\CodeGen\attr-counted-by.c # executed command: 'c:\src\llvm-project\out\gn\bin\clang.exe' -cc1 -internal-isystem 'C:\src\llvm-project\out\gn\lib\clang\18\include' -nostdsysteminc -triple x86_64-unknown-linux-gnu -DCOUNTED_BY -O2 -Wall -fsanitize=array-bounds,object-size,local-bounds -fstrict-flex-arrays=3 -emit-llvm -o - 'C:\src\llvm-project\clang\test\CodeGen\attr-counted-by.c' # executed command: 'c:\src\llvm-project\out\gn\bin\filecheck.exe' --check-prefix=SANITIZE-WITH-ATTR 'C:\src\llvm-project\clang\test\CodeGen\attr-counted-by.c' # .---command stderr------------ # | C:\src\llvm-project\clang\test\CodeGen\attr-counted-by.c:1019:30: error: SANITIZE-WITH-ATTR-LABEL: expected string not found in input # | // SANITIZE-WITH-ATTR-LABEL: define dso_local i64 @test11_bdos( # | ^ # | :444:31: note: scanning from here # | define dso_local void @test11(ptr noundef %p, i32 noundef %index) local_unnamed_addr #0 { # | ^ # | :527:1: note: possible intended match here # | define dso_local i32 @test14(i32 noundef %idx) local_unnamed_addr #0 { # | ^ # | # | Input file: # | Check file: C:\src\llvm-project\clang\test\CodeGen\attr-counted-by.c # | # | -dump-input=help explains the following input dump. # | # | Input was: # | <<<<<< # | . # | . # | . # | 439: %0 = zext nneg i32 %narrow to i64 # | 440: ret i64 %0 # | 441: } # | 442: # | 443: ; Function Attrs: nounwind # | 444: define dso_local void @test11(ptr noundef %p, i32 noundef %index) local_unnamed_addr #0 { # | label:1019'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found # | 445: entry: # | label:1019'0 ~~~~~~~ # | 446: %idxprom = sext i32 %index to i64 # | label:1019'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 447: %.counted_by.gep = getelementptr inbounds %struct.annotated, ptr %p, i64 0, i32 1 # | label:1019'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 448: %.counted_by.load = load i32, ptr %.counted_by.gep, align 4 # | label:1019'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 449: %0 = zext i32 %.counted_by.load to i64, !nosanitize !2 # | label:1019'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | . # | . # | . # | 522: store ptr null, ptr %arrayidx, align 8, !tbaa !14 # | label:1019'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 523: ret i32 0 # | label:1019'0 ~~~~~~~~~~~ # | 524: } # | label:1019'0 ~~ # | 525: # | label:1019'0 ~ # | 526: ; Function Attrs: nounwind # | label:1019'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 527: define dso_local i32 @test14(i32 noundef %idx) local_unnamed_addr #0 { # | label:1019'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | label:1019'1 ? possible intended match # | 528: entry: # | label:1019'0 ~~~~~~~ # | 529: %0 = icmp eq i32 %idx, 0 # | label:1019'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 530: br i1 %0, label %trap, label %handler.out_of_bounds, !prof !3, !nosanitize !2 # | label:1019'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 531: # | label:1019'0 ~ # | 532: handler.out_of_bounds: ; preds = %entry # | label:1019'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | . # | . # | . # | >>>>>> # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: FAIL: Clang :: Format/clang-format-ignore.cpp (2 of 19489) ******************** TEST 'Clang :: Format/clang-format-ignore.cpp' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 rm -rf C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.dir # executed command: rm -rf 'C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.dir' # RUN: at line 2 mkdir -p C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.dir/level1/level2 # executed command: mkdir -p 'C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.dir/level1/level2' # RUN: at line 4 cd C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.dir # executed command: cd 'C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.dir' # RUN: at line 5 echo "*" > .clang-format-ignore # executed command: echo '*' # RUN: at line 6 echo "level*/*.c*" >> .clang-format-ignore # executed command: echo 'level*/*.c*' # RUN: at line 7 echo "*/*2/foo.*" >> .clang-format-ignore # executed command: echo '*/*2/foo.*' # RUN: at line 8 touch foo.cc # executed command: touch foo.cc # RUN: at line 9 c:\src\llvm-project\out\gn\bin\clang-format.exe -verbose .clang-format-ignore foo.cc 2> C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.stderr # executed command: 'c:\src\llvm-project\out\gn\bin\clang-format.exe' -verbose .clang-format-ignore foo.cc # RUN: at line 10 not grep Formatting C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.stderr # executed command: not grep Formatting 'C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.stderr' # RUN: at line 12 cd level1 # executed command: cd level1 # RUN: at line 13 touch bar.cc baz.c # executed command: touch bar.cc baz.c # RUN: at line 14 c:\src\llvm-project\out\gn\bin\clang-format.exe -verbose bar.cc baz.c 2> C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.stderr # executed command: 'c:\src\llvm-project\out\gn\bin\clang-format.exe' -verbose bar.cc baz.c # RUN: at line 15 not grep Formatting C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.stderr # executed command: not grep Formatting 'C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.stderr' # RUN: at line 17 cd level2 # executed command: cd level2 # RUN: at line 18 touch foo.c foo.js # executed command: touch foo.c foo.js # RUN: at line 19 c:\src\llvm-project\out\gn\bin\clang-format.exe -verbose foo.c foo.js 2> C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.stderr # executed command: 'c:\src\llvm-project\out\gn\bin\clang-format.exe' -verbose foo.c foo.js # RUN: at line 20 not grep Formatting C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.stderr # executed command: not grep Formatting 'C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.stderr' # RUN: at line 22 touch .clang-format-ignore # executed command: touch .clang-format-ignore # RUN: at line 23 c:\src\llvm-project\out\gn\bin\clang-format.exe -verbose foo.c foo.js 2> C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.stderr # executed command: 'c:\src\llvm-project\out\gn\bin\clang-format.exe' -verbose foo.c foo.js # RUN: at line 24 grep -Fx "Formatting [1/2] foo.c" C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.stderr # executed command: grep -Fx 'Formatting [1/2] foo.c' 'C:\src\llvm-project\out\gn\obj\clang\test\Format\Output\clang-format-ignore.cpp.tmp.stderr' # note: command had no output on stdout or stderr # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (2): Clang :: CodeGen/attr-counted-by.c Clang :: Format/clang-format-ignore.cpp Testing Time: 431.25s Total Discovered Tests: 35090 Skipped : 30 (0.09%) Unsupported : 251 (0.72%) Passed : 34773 (99.10%) Expectedly Failed: 34 (0.10%) Failed : 2 (0.01%) FAILED: gen/clang/test/run-lit python3 bin/llvm-lit.py -sv ../../clang/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-clang']' returned non-zero exit status 1.