ninja: Entering directory `out/gn' [0/1] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find cir-opt in /Users/thakis/src/llvm-project/out/gn/bin:/Users/thakis/src/llvm-project/out/gn/bin llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/util.py:473: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk' llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 21223 tests, 8 workers -- Testing: FAIL: Clang :: C/C11/n1285_1.c (1 of 21223) ******************** TEST 'Clang :: C/C11/n1285_1.c' FAILED ******************** Exit Code: 1 Command Output (stderr): -- /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/21/include -nostdsysteminc -std=c99 -Wno-dangling -emit-llvm -o - /Users/thakis/src/llvm-project/clang/test/C/C11/n1285_1.c | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/C/C11/n1285_1.c --check-prefix=CHECK # RUN: at line 2 + /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/21/include -nostdsysteminc -std=c99 -Wno-dangling -emit-llvm -o - /Users/thakis/src/llvm-project/clang/test/C/C11/n1285_1.c + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/C/C11/n1285_1.c --check-prefix=CHECK /Users/thakis/src/llvm-project/clang/test/C/C11/n1285_1.c:11:17: error: CHECK-LABEL: expected string not found in input // CHECK-LABEL: define dso_local i32 @func_return( ^ :1:1: note: scanning from here ; ModuleID = '/Users/thakis/src/llvm-project/clang/test/C/C11/n1285_1.c' ^ :11:1: note: possible intended match here define i32 @func_return() #0 { ^ Input file: Check file: /Users/thakis/src/llvm-project/clang/test/C/C11/n1285_1.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: ; ModuleID = '/Users/thakis/src/llvm-project/clang/test/C/C11/n1285_1.c' label:11'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: source_filename = "/Users/thakis/src/llvm-project/clang/test/C/C11/n1285_1.c" label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-n32:64-S128-Fn32" label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: target triple = "arm64-apple-darwin23.5.0" label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: label:11'0 ~ 6: %struct.X = type { [5 x i32] } label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: label:11'0 ~ 8: @p = external global ptr, align 8 label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: label:11'0 ~ 10: ; Function Attrs: noinline nounwind optnone label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: define i32 @func_return() #0 { label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ label:11'1 ? possible intended match 12: entry: label:11'0 ~~~~~~~ 13: %p = alloca ptr, align 8 label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: %ref.tmp = alloca %struct.X, align 4 label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: call void @f(ptr dead_on_unwind writable sret(%struct.X) align 4 %ref.tmp) label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16: %a = getelementptr inbounds nuw %struct.X, ptr %ref.tmp, i32 0, i32 0 label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): Clang :: C/C11/n1285_1.c Testing Time: 483.03s Total Discovered Tests: 46995 Skipped : 35 (0.07%) Unsupported : 163 (0.35%) Passed : 46762 (99.50%) Expectedly Failed: 34 (0.07%) Failed : 1 (0.00%) FAILED: gen/clang/test/run-lit python3 bin/llvm-lit -sv ../../clang/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-clang']' returned non-zero exit status 1.