INFO:2025-10-07T23:53:50Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD 289e85b18101..abc8aac6d242 main -> origin/main Switched to branch 'main' Your branch is behind 'origin/main' by 2 commits, and can be fast-forwarded. (use "git pull" to update your local branch) HEAD is now at abc8aac6d242 [WebAssembly] Check intrinsic argument count before Any/All combine (#162163) INFO:2025-10-07T23:53:53Z:root:syncing... Deleted branch merge (was 9dd84e9f84db). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. [merge b4ec532658cb] [gn build] Port 879f8616ef93 2 files changed, 2 insertions(+) [merge 878032d6b08e] [gn build] Port c7d776b06897 1 file changed, 2 deletions(-) [gn build] Port 879f8616ef93 -- https://github.com/llvm/llvm-project/commit/879f8616ef93 [gn build] Port c7d776b06897 -- https://github.com/llvm/llvm-project/commit/c7d776b06897 INFO:2025-10-07T23:53:55Z:root:building ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/145] CXX obj/llvm/lib/CodeGen/CodeGen.MIR2Vec.o [2/145] CXX obj/llvm/unittests/CodeGen/CodeGenTests.MIR2VecTest.o [3/145] AR lib/libLLVMCodeGen.a [4/145] LINK ./bin/lli-child-target [5/145] LINK ./bin/llvm-cgdata [6/145] LINK ./bin/llvm-debuginfo-analyzer [7/145] LINK ./bin/llvm-dwarfdump [8/145] LINK ./bin/llvm-cfi-verify [9/145] LINK ./bin/lli [10/145] LINK ./bin/llvm-bat-dump [11/145] LINK obj/bolt/unittests/Profile/ProfileTests [12/145] LINK ./bin/lldb-server [13/145] LINK ./bin/clang-extdef-mapping [14/145] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [15/145] LINK ./bin/clang-import-test [16/145] LINK obj/llvm/unittests/Target/LoongArch/LoongArchTests [17/145] LINK obj/llvm/unittests/Target/ARM/ARMTests [18/145] LINK obj/llvm/unittests/Target/PowerPC/PowerPCTests [19/145] LINK obj/llvm/unittests/Target/RISCV/RISCVTests [20/145] LINK obj/clang/unittests/Frontend/FrontendTests [21/145] LINK obj/llvm/unittests/Target/AMDGPU/AMDGPUTests [22/145] LINK obj/llvm/unittests/Transforms/Scalar/ScalarTests [23/145] LINK obj/llvm/unittests/Transforms/Coroutines/CoroTests [24/145] LINK obj/llvm/unittests/Transforms/Instrumentation/InstrumentationTests [25/145] LINK obj/llvm/unittests/Target/X86/X86Tests [26/145] LINK obj/llvm/unittests/tools/llvm-cfi-verify/CFIVerifyTests [27/145] LINK obj/llvm/unittests/tools/llvm-exegesis/LLVMExegesisTests [28/145] LINK obj/llvm/unittests/Transforms/Utils/UtilsTests [29/145] LINK obj/llvm/unittests/tools/llvm-exegesis/AArch64/LLVMExegesisAArch64Tests [30/145] LINK obj/llvm/unittests/DWARFLinkerParallel/DWARFLinkerParallelTests [31/145] LINK ./bin/clang-tidy [32/145] LINK obj/llvm/unittests/ExecutionEngine/ExecutionEngineTests [33/145] LINK obj/llvm/unittests/tools/llvm-mca/LLVMMCATests [34/145] LINK obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests [35/145] LINK obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests [36/145] CXX obj/llvm/lib/Target/WebAssembly/LLVMWebAssemblyCodeGen.WebAssemblyISelLowering.o [37/145] LINK obj/llvm/unittests/tools/llvm-exegesis/RISCV/LLVMExegesisRISCVTests [38/145] LINK obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests [39/145] AR lib/libLLVMWebAssemblyCodeGen.a [40/145] LINK obj/llvm/unittests/MC/SystemZ/SystemZAsmLexerTests [41/145] LINK obj/llvm/unittests/MC/X86/X86MCTests [42/145] LINK obj/llvm/unittests/Analysis/AnalysisTests [43/145] LINK obj/llvm/unittests/ExecutionEngine/MCJIT/MCJITTests [44/145] LINK obj/llvm/unittests/ExecutionEngine/Orc/OrcJITTests [45/145] LINK obj/llvm/unittests/Frontend/LLVMFrontendTests [46/145] LINK obj/llvm/unittests/Passes/Plugins/PluginsTests [47/145] LINK obj/llvm/unittests/MC/AMDGPU/AMDGPUMCTests [48/145] LINK obj/llvm/unittests/IR/IRTests [49/145] LINK obj/clang/unittests/CrossTU/CrossTUTests [50/145] LINK ./bin/llvm-dwarfutil [51/145] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [52/145] SOLINK ./lib/libclang.dylib [53/145] LINK obj/clang/unittests/libclang/libclangTests [54/145] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [55/145] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [56/145] LINK obj/clang/unittests/Driver/ClangDriverTests [57/145] LINK ./bin/clang-linker-wrapper [58/145] LINK ./bin/clang-nvlink-wrapper [59/145] LINK ./bin/clang-scan-deps [60/145] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [61/145] LINK ./bin/clang-check [62/145] LINK ./bin/c-index-test [63/145] LINK obj/clang/unittests/Tooling/ToolingTests [64/145] LINK ./bin/clang-sycl-linker [65/145] LINK obj/lld/unittests/AsLibELF/LLDAsLibELFTests [66/145] LINK ./bin/clang-repl [67/145] LINK ./bin/lld [68/145] LINK obj/lld/unittests/AsLibAll/LLDAsLibAllTests [69/145] LINK ./bin/bugpoint [70/145] LINK ./bin/clang [71/145] ACTION //lld/tools/lld:lld-link(//llvm/utils/gn/build/toolchain:unix) [72/145] ACTION //lld/tools/lld:ld64.lld(//llvm/utils/gn/build/toolchain:unix) [73/145] ACTION //lld/tools/lld:ld.lld(//llvm/utils/gn/build/toolchain:unix) [74/145] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [75/145] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [76/145] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [77/145] ACTION //lld/tools/lld:wasm-ld(//llvm/utils/gn/build/toolchain:unix) [78/145] LINK ./bin/dsymutil [79/145] LINK ./bin/llvm-ar [80/145] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:unix) [81/145] LINK ./bin/llvm-cxxmap [82/145] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:unix) [83/145] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:unix) [84/145] LINK ./bin/llvm-cxxdump [85/145] LINK obj/clang-tools-extra/clangd/unittests/xpc/ClangdXpcTests [86/145] LINK ./bin/dexp [87/145] LINK ./bin/lldb-test [88/145] LINK ./bin/lldb-dap [89/145] LINK ./bin/lldb [90/145] LINK ./bin/llc [91/145] LINK obj/llvm/unittests/CGData/CodeGenDataTests [92/145] LINK ./bin/llvm-c-test [93/145] LINK obj/bolt/unittests/Core/CoreTests [94/145] LINK ./bin/llvm-bolt-heatmap [95/145] LINK obj/llvm/unittests/Target/WebAssembly/WebAssemblyTests [96/145] LINK obj/llvm/unittests/DebugInfo/GSYM/DebugInfoGSYMTests [97/145] LINK ./bin/llvm-bolt [98/145] ACTION //bolt/tools/driver:llvm-boltdiff(//llvm/utils/gn/build/toolchain:unix) [99/145] LINK ./bin/clangd-indexer [100/145] LINK ./bin/clangd [101/145] COPY_BUNDLE_DATA bin/clangd gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc/Contents/MacOS/clangd [102/145] COPY_BUNDLE_DATA gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc lib/ClangdXPC.framework/Versions/A/XPCServices/clangd.xpc [103/145] ACTION //bolt/tools/driver:perf2bolt(//llvm/utils/gn/build/toolchain:unix) [104/145] LINK obj/llvm/unittests/ExecutionEngine/JITLink/JITLinkTests [105/145] LINK obj/llvm/unittests/MC/MCTests [106/145] LINK ./bin/clangd-xpc-test-client [107/145] LINK obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests [108/145] LINK obj/llvm/unittests/Passes/PassBuilderBindings/PassesBindingsTests [109/145] LINK obj/llvm/unittests/Target/AArch64/AArch64Tests [110/145] LINK obj/llvm/unittests/CodeGen/CodeGenTests [111/145] LINK obj/llvm/unittests/DebugInfo/DWARF/DebugInfoDWARFTests [112/145] LINK obj/llvm/unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests [113/145] LINK obj/llvm/unittests/MI/MITests [114/145] LINK obj/llvm/unittests/MIR/MIRTests [115/145] LINK obj/llvm/unittests/Target/TargetMachineCTests [116/145] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [117/145] LINK ./bin/llvm-exegesis [118/145] LINK ./bin/llvm-extract [119/145] LINK ./bin/llvm-dwp [120/145] LINK ./bin/llvm-gsymutil [121/145] LINK ./bin/llvm-isel-fuzzer [122/145] LINK ./bin/llvm-libtool-darwin [123/145] LINK ./bin/llvm-jitlink [124/145] LINK ./bin/llvm-lipo [125/145] LINK ./bin/llvm-ml [126/145] LINK ./bin/llvm-mc [127/145] LINK ./bin/llvm-mca [128/145] ACTION //llvm/tools/llvm-ml:llvm-ml64(//llvm/utils/gn/build/toolchain:unix) [129/145] LINK ./bin/llvm-nm [130/145] LINK ./bin/llvm-xray [131/145] LINK ./bin/llvm-objdump [132/145] LINK ./bin/llvm-profgen [133/145] LINK ./bin/llvm-rtdyld [134/145] LINK ./bin/llvm-lto [135/145] ACTION //llvm/tools/llvm-objdump:llvm-otool(//llvm/utils/gn/build/toolchain:unix) [136/145] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [137/145] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [138/145] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [139/145] LINK ./bin/llvm-split [140/145] SOLINK ./lib/libLTO.dylib [141/145] LINK ./bin/llvm-lto2 [142/145] LINK ./bin/llvm-opt-fuzzer [143/145] LINK ./bin/llvm-reduce [144/145] LINK ./bin/sancov [145/145] LINK ./bin/opt INFO:2025-10-07T23:54:15Z:root:analyze skipping analyze because previous build was not green INFO:2025-10-07T23:54:15Z:root:testing INFO:2025-10-07T23:54:15Z:root:test check-clang 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:530: 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:468: 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:530: 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:530: 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:530: 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:530: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 22584 tests, 8 workers -- Testing: FAIL: Clang :: Preprocessor/print-header-json.c (9 of 22584) ******************** TEST 'Clang :: Preprocessor/print-header-json.c' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # 1 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c" # 1 "" 1 # 1 "" 3 # 411 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c" 2 # 20 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c" # 1 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system/system0.h" 1 3 # 1 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system/system1.h" 1 3 # 2 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system/system0.h" 2 3 # 1 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system/system2.h" 1 3 # 3 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system/system0.h" 2 3 # 21 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c" 2 # 1 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/header0.h" 1 # 1 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system/system3.h" 1 3 # 2 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/header0.h" 2 # 1 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/header1.h" 1 # 3 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/header0.h" 2 # 1 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/header2.h" 1 # 4 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/header0.h" 2 # 22 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c" 2 # 1 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system/system2.h" 1 3 # 23 "/Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c" 2 -- Command Output (stderr): -- /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -E -header-include-format=json -header-include-filtering=only-direct-system -header-include-file /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c # RUN: at line 1 + /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -E -header-include-format=json -header-include-filtering=only-direct-system -header-include-file /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c cat /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=SUPPORTED # RUN: at line 2 + cat /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=SUPPORTED not /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -E -header-include-format=textual -header-include-filtering=only-direct-system -header-include-file /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED0 # RUN: at line 4 + not /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -E -header-include-format=textual -header-include-filtering=only-direct-system -header-include-file /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED0 not /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -E -header-include-format=json -header-include-filtering=none -header-include-file /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED1 # RUN: at line 5 + not /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -E -header-include-format=json -header-include-filtering=none -header-include-file /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED1 env CC_PRINT_HEADERS_FORMAT=textual CC_PRINT_HEADERS_FILTERING=only-direct-system CC_PRINT_HEADERS_FILE=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt not /Users/thakis/src/llvm-project/out/gn/bin/clang -fsyntax-only -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED2 # RUN: at line 6 + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED2 + env CC_PRINT_HEADERS_FORMAT=textual CC_PRINT_HEADERS_FILTERING=only-direct-system CC_PRINT_HEADERS_FILE=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt not /Users/thakis/src/llvm-project/out/gn/bin/clang -fsyntax-only -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null env CC_PRINT_HEADERS_FORMAT=json CC_PRINT_HEADERS_FILTERING=none CC_PRINT_HEADERS_FILE=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt not /Users/thakis/src/llvm-project/out/gn/bin/clang -fsyntax-only -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED3 # RUN: at line 7 + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED3 + env CC_PRINT_HEADERS_FORMAT=json CC_PRINT_HEADERS_FILTERING=none CC_PRINT_HEADERS_FILE=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt not /Users/thakis/src/llvm-project/out/gn/bin/clang -fsyntax-only -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null env CC_PRINT_HEADERS_FORMAT=json CC_PRINT_HEADERS_FILE=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt not /Users/thakis/src/llvm-project/out/gn/bin/clang -fsyntax-only -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED4 # RUN: at line 8 + env CC_PRINT_HEADERS_FORMAT=json CC_PRINT_HEADERS_FILE=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt not /Users/thakis/src/llvm-project/out/gn/bin/clang -fsyntax-only -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED4 not /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -E -header-include-filtering=only-direct-system -header-include-file /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED5 # RUN: at line 9 + not /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -E -header-include-filtering=only-direct-system -header-include-file /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED5 not /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -E -header-include-format=json -header-include-file /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED6 # RUN: at line 10 + not /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -E -header-include-format=json -header-include-file /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED6 rm /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt # RUN: at line 12 + rm /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt env CC_PRINT_HEADERS_FORMAT=json CC_PRINT_HEADERS_FILTERING=only-direct-system CC_PRINT_HEADERS_FILE=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt /Users/thakis/src/llvm-project/out/gn/bin/clang -fsyntax-only -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null # RUN: at line 13 + env CC_PRINT_HEADERS_FORMAT=json CC_PRINT_HEADERS_FILTERING=only-direct-system CC_PRINT_HEADERS_FILE=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt /Users/thakis/src/llvm-project/out/gn/bin/clang -fsyntax-only -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null cat /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=SUPPORTED # RUN: at line 14 + cat /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=SUPPORTED rm /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt # RUN: at line 16 + rm /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt env CC_PRINT_HEADERS_FORMAT=json CC_PRINT_HEADERS_FILTERING=direct-per-file CC_PRINT_HEADERS_FILE=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt /Users/thakis/src/llvm-project/out/gn/bin/clang -fsyntax-only -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null # RUN: at line 17 + env CC_PRINT_HEADERS_FORMAT=json CC_PRINT_HEADERS_FILTERING=direct-per-file CC_PRINT_HEADERS_FILE=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt /Users/thakis/src/llvm-project/out/gn/bin/clang -fsyntax-only -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null cat /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=SUPPORTED_PERFILE # RUN: at line 18 + cat /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=SUPPORTED_PERFILE rm /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt # RUN: at line 24 + rm /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt env CC_PRINT_HEADERS_FORMAT=json CC_PRINT_HEADERS_FILTERING=direct-per-file CC_PRINT_HEADERS_FILE=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt /Users/thakis/src/llvm-project/out/gn/bin/clang -fsyntax-only -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system -fmodules -fimplicit-module-maps -fmodules-cache-path=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null # RUN: at line 25 + env CC_PRINT_HEADERS_FORMAT=json CC_PRINT_HEADERS_FILTERING=direct-per-file CC_PRINT_HEADERS_FILE=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp.txt /Users/thakis/src/llvm-project/out/gn/bin/clang -fsyntax-only -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system -fmodules -fimplicit-module-maps -fmodules-cache-path=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null Assertion failed: (idx < size()), function operator[], file SmallVector.h, line 298. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /Users/thakis/src/llvm-project/out/gn/bin/clang -fsyntax-only -I /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json -isystem /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system -fmodules -fimplicit-module-maps -fmodules-cache-path=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Preprocessor/Output/print-header-json.c.tmp /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c -o /dev/null 1. /Users/thakis/src/llvm-project/clang/test/Preprocessor/Inputs/print-header-json/system/system0.h:2:2: current parser token 'include' #0 0x0000000101ac7c60 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1015a7c60) #1 0x0000000101ac5a10 llvm::sys::RunSignalHandlers() (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1015a5a10) #2 0x0000000101ac71c0 llvm::sys::CleanupOnSignal(unsigned long) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1015a71c0) #3 0x0000000101a3bd38 CrashRecoverySignalHandler(int) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10151bd38) #4 0x00000001876ab584 (/usr/lib/system/libsystem_platform.dylib+0x180477584) #5 0x000000018767ac20 (/usr/lib/system/libsystem_pthread.dylib+0x180446c20) #6 0x0000000187587a30 (/usr/lib/system/libsystem_c.dylib+0x180353a30) #7 0x0000000187586d20 (/usr/lib/system/libsystem_c.dylib+0x180352d20) #8 0x00000001037c3e94 clang::ASTReader::ParseLanguageOptions(llvm::SmallVector const&, llvm::StringRef, bool, clang::ASTReaderListener&, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1032a3e94) #9 0x00000001037bea8c clang::ASTReader::ReadOptionsBlock(llvm::BitstreamCursor&, llvm::StringRef, unsigned int, bool, clang::ASTReaderListener&, std::__1::basic_string, std::__1::allocator>&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10329ea8c) #10 0x00000001037c6884 clang::ASTReader::ReadControlBlock(clang::serialization::ModuleFile&, llvm::SmallVectorImpl&, clang::serialization::ModuleFile const*, unsigned int) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1032a6884) #11 0x00000001037c859c clang::ASTReader::ReadASTCore(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, clang::serialization::ModuleFile*, llvm::SmallVectorImpl&, long long, long, clang::ASTFileSignature, unsigned int) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1032a859c) #12 0x00000001037d1b4c clang::ASTReader::ReadAST(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, unsigned int, clang::serialization::ModuleFile**) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1032b1b4c) #13 0x0000000100d05ee8 clang::CompilerInstance::findOrCompileModuleAndReadAST(llvm::StringRef, clang::SourceLocation, clang::SourceLocation, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1007e5ee8) #14 0x0000000100d07258 clang::CompilerInstance::loadModule(clang::SourceLocation, llvm::ArrayRef, clang::Module::NameVisibilityKind, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1007e7258) #15 0x0000000102895180 clang::Preprocessor::HandleHeaderIncludeOrImport(clang::SourceLocation, clang::Token&, clang::Token&, clang::SourceLocation, clang::detail::SearchDirIteratorImpl, clang::FileEntry const*) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x102375180) #16 0x000000010288fe90 clang::Preprocessor::HandleIncludeDirective(clang::SourceLocation, clang::Token&, clang::detail::SearchDirIteratorImpl, clang::FileEntry const*) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10236fe90) #17 0x0000000102890574 clang::Preprocessor::HandleDirective(clang::Token&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x102370574) #18 0x000000010285df40 clang::Lexer::LexTokenInternal(clang::Token&, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10233df40) #19 0x000000010285b12c clang::Lexer::Lex(clang::Token&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10233b12c) #20 0x00000001028cc36c clang::Preprocessor::Lex(clang::Token&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1023ac36c) #21 0x0000000102d26fe4 clang::ParseAST(clang::Sema&, bool, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x102806fe4) #22 0x0000000100d7d0b8 clang::FrontendAction::Execute() (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10085d0b8) #23 0x0000000100d02688 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1007e2688) #24 0x0000000100e780fc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1009580fc) #25 0x0000000100521320 cc1_main(llvm::ArrayRef, char const*, void*) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x100001320) #26 0x000000010052e08c ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10000e08c) #27 0x000000010052ea88 int llvm::function_ref&)>::callback_fn(long, llvm::SmallVectorImpl&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10000ea88) #28 0x0000000100b95e8c void llvm::function_ref::callback_fn>, std::__1::basic_string, std::__1::allocator>*, bool*) const::$_0>(long) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x100675e8c) #29 0x0000000101a3ba08 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10151ba08) #30 0x0000000100b95790 clang::driver::CC1Command::Execute(llvm::ArrayRef>, std::__1::basic_string, std::__1::allocator>*, bool*) const (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x100675790) #31 0x0000000100b5c164 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10063c164) #32 0x0000000100b5c378 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10063c378) #33 0x0000000100b76498 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x100656498) #34 0x000000010052d504 clang_main(int, char**, llvm::ToolContext const&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10000d504) #35 0x000000010052eb64 main (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10000eb64) #36 0x00000001872f20e0 clang: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 22.0.0 Target: arm64-apple-darwin23.5.0 Thread model: posix InstalledDir: /Users/thakis/src/llvm-project/out/gn/bin Build config: +assertions clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-t95udakl/print-header-json-300d5f.c clang: note: diagnostic msg: /var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-t95udakl/print-header-json-300d5f.cache clang: note: diagnostic msg: /var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-t95udakl/print-header-json-300d5f.sh clang: note: diagnostic msg: Crash backtrace is located in clang: note: diagnostic msg: /Users/thakis/Library/Logs/DiagnosticReports/clang__.crash clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash) clang: note: diagnostic msg: ******************** -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): Clang :: Preprocessor/print-header-json.c Testing Time: 511.44s Total Discovered Tests: 48461 Skipped : 36 (0.07%) Unsupported : 555 (1.15%) Passed : 47837 (98.71%) Expectedly Failed: 32 (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.