INFO:2025-10-07T21:05:47Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD 879f8616ef93..57f69232da62 main -> origin/main Switched to branch 'main' Your branch is behind 'origin/main' by 5 commits, and can be fast-forwarded. (use "git pull" to update your local branch) HEAD is now at 57f69232da62 Disable Driver/env.c on AIX (NFC) (#161874) INFO:2025-10-07T21:05:51Z:root:syncing... Deleted branch merge (was 839d4303e956). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. [merge 033da9c26d8b] [gn build] Port 879f8616ef93 2 files changed, 2 insertions(+) [merge 98760dfe7439] [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-07T21:05:52Z:root:building ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/133] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.LegalizeTypesGeneric.o [2/133] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.LegalizeTypes.o [3/133] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.LegalizeFloatTypes.o [4/133] CXX obj/llvm/lib/Target/AArch64/GISel/LLVMAArch64CodeGen.AArch64RegisterBankInfo.o [5/133] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.LegalizeIntegerTypes.o [6/133] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.LegalizeVectorTypes.o [7/133] AR lib/libLLVMSelectionDAG.a [8/133] AR lib/libLLVMAArch64CodeGen.a [9/133] LINK obj/llvm/unittests/Target/LoongArch/LoongArchTests [10/133] LINK ./bin/llvm-debuginfo-analyzer [11/133] LINK obj/llvm/unittests/tools/llvm-mca/LLVMMCATests [12/133] LINK obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests [13/133] LINK ./bin/llvm-cfi-verify [14/133] LINK obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests [15/133] LINK obj/llvm/unittests/tools/llvm-exegesis/RISCV/LLVMExegesisRISCVTests [16/133] LINK ./bin/lli [17/133] LINK obj/llvm/unittests/Target/PowerPC/PowerPCTests [18/133] LINK ./bin/llvm-mca [19/133] LINK obj/llvm/unittests/Target/WebAssembly/WebAssemblyTests [20/133] LINK obj/llvm/unittests/Target/AMDGPU/AMDGPUTests [21/133] LINK obj/llvm/unittests/Target/RISCV/RISCVTests [22/133] LINK obj/llvm/unittests/tools/llvm-cfi-verify/CFIVerifyTests [23/133] LINK obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests [24/133] LINK ./bin/llvm-objdump [25/133] LINK obj/llvm/unittests/tools/llvm-exegesis/AArch64/LLVMExegesisAArch64Tests [26/133] ACTION //llvm/tools/llvm-objdump:llvm-otool(//llvm/utils/gn/build/toolchain:unix) [27/133] LINK obj/llvm/unittests/Target/X86/X86Tests [28/133] LINK ./bin/sancov [29/133] LINK ./bin/llvm-profgen [30/133] LINK obj/llvm/unittests/MC/SystemZ/SystemZAsmLexerTests [31/133] LINK obj/llvm/unittests/MC/X86/X86MCTests [32/133] LINK obj/llvm/unittests/Target/AArch64/AArch64Tests [33/133] LINK obj/llvm/unittests/ExecutionEngine/Orc/OrcJITTests [34/133] LINK obj/llvm/unittests/ExecutionEngine/MCJIT/MCJITTests [35/133] LINK obj/llvm/unittests/MC/AMDGPU/AMDGPUMCTests [36/133] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMISelLowering.o [37/133] AR lib/libLLVMARMCodeGen.a [38/133] LINK ./bin/llvm-cxxmap [39/133] LINK ./bin/llvm-cxxdump [40/133] LINK ./bin/llvm-ar [41/133] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:unix) [42/133] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:unix) [43/133] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:unix) [44/133] LINK ./bin/bugpoint [45/133] LINK ./bin/llc [46/133] LINK ./bin/llvm-c-test [47/133] LINK ./bin/llvm-dwarfutil [48/133] LINK ./bin/dsymutil [49/133] LINK ./bin/clang-linker-wrapper [50/133] LINK ./bin/clang-check [51/133] LINK obj/clang/unittests/CrossTU/CrossTUTests [52/133] LINK ./bin/clang-scan-deps [53/133] LINK ./bin/clang-nvlink-wrapper [54/133] LINK ./bin/clang-sycl-linker [55/133] LINK ./bin/lldb [56/133] LINK ./bin/lldb-dap [57/133] LINK ./bin/lldb-test [58/133] LINK obj/clang/unittests/Driver/ClangDriverTests [59/133] LINK ./bin/clang-repl [60/133] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [61/133] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [62/133] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [63/133] SOLINK ./lib/libclang.dylib [64/133] LINK ./bin/lld [65/133] LINK obj/lld/unittests/AsLibAll/LLDAsLibAllTests [66/133] LINK ./bin/llvm-bolt [67/133] LINK ./bin/llvm-bolt-heatmap [68/133] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [69/133] ACTION //lld/tools/lld:ld.lld(//llvm/utils/gn/build/toolchain:unix) [70/133] LINK obj/clang/unittests/libclang/libclangTests [71/133] ACTION //lld/tools/lld:ld64.lld(//llvm/utils/gn/build/toolchain:unix) [72/133] ACTION //lld/tools/lld:lld-link(//llvm/utils/gn/build/toolchain:unix) [73/133] ACTION //lld/tools/lld:wasm-ld(//llvm/utils/gn/build/toolchain:unix) [74/133] ACTION //bolt/tools/driver:llvm-boltdiff(//llvm/utils/gn/build/toolchain:unix) [75/133] ACTION //bolt/tools/driver:perf2bolt(//llvm/utils/gn/build/toolchain:unix) [76/133] LINK obj/bolt/unittests/Core/CoreTests [77/133] LINK obj/lld/unittests/AsLibELF/LLDAsLibELFTests [78/133] LINK ./bin/c-index-test [79/133] LINK obj/clang-tools-extra/clangd/unittests/xpc/ClangdXpcTests [80/133] LINK ./bin/clang [81/133] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [82/133] LINK obj/llvm/unittests/Target/ARM/ARMTests [83/133] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [84/133] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [85/133] LINK ./bin/llvm-ml [86/133] LINK ./bin/dexp [87/133] ACTION //llvm/tools/llvm-ml:llvm-ml64(//llvm/utils/gn/build/toolchain:unix) [88/133] LINK ./bin/llvm-opt-fuzzer [89/133] LINK ./bin/llvm-dwp [90/133] LINK obj/clang/unittests/Tooling/ToolingTests [91/133] LINK ./bin/llvm-exegesis [92/133] LINK ./bin/llvm-jitlink [93/133] LINK ./bin/llvm-libtool-darwin [94/133] LINK ./bin/llvm-gsymutil [95/133] LINK ./bin/llvm-lipo [96/133] LINK ./bin/llvm-isel-fuzzer [97/133] CC stage2_baremetal_aarch64/obj/compiler-rt/lib/builtins/cpu_model/builtins.aarch64.o [98/133] CC stage2_ios_aarch64/obj/compiler-rt/lib/builtins/cpu_model/builtins.aarch64.o [99/133] LINK ./bin/llvm-mc [100/133] AR lib/clang/22/lib/baremetal/libclang_rt.builtins-aarch64.a [101/133] AR lib/clang/22/lib/darwin/libclang_rt.ios.a [102/133] LINK ./bin/clangd-indexer [103/133] LINK ./bin/llvm-lto [104/133] LINK ./bin/llvm-lto2 [105/133] LINK ./bin/clangd [106/133] COPY_BUNDLE_DATA bin/clangd gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc/Contents/MacOS/clangd [107/133] LINK ./bin/llvm-xray [108/133] COPY_BUNDLE_DATA gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc lib/ClangdXPC.framework/Versions/A/XPCServices/clangd.xpc [109/133] LINK ./bin/llvm-rtdyld [110/133] LINK obj/llvm/unittests/DebugInfo/GSYM/DebugInfoGSYMTests [111/133] LINK ./bin/clangd-xpc-test-client [112/133] LINK obj/llvm/unittests/CGData/CodeGenDataTests [113/133] LINK obj/llvm/unittests/ExecutionEngine/JITLink/JITLinkTests [114/133] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [115/133] LINK ./bin/llvm-reduce [116/133] LINK ./bin/llvm-split [117/133] LINK ./bin/opt [118/133] SOLINK ./lib/libLTO.dylib [119/133] CC stage2_unix/obj/compiler-rt/lib/builtins/cpu_model/builtins.aarch64.o [120/133] LINK obj/llvm/unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests [121/133] LINK obj/llvm/unittests/MC/MCTests [122/133] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [123/133] LINK obj/llvm/unittests/Passes/PassBuilderBindings/PassesBindingsTests [124/133] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [125/133] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [126/133] AR lib/clang/22/lib/darwin/libclang_rt.osx.a [127/133] LINK obj/llvm/unittests/Target/TargetMachineCTests [128/133] LINK obj/llvm/unittests/MIR/MIRTests [129/133] LINK obj/llvm/unittests/MI/MITests [130/133] LINK obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests [131/133] SOLINK lib/libunwind.dylib [132/133] LINK obj/llvm/unittests/DebugInfo/DWARF/DebugInfoDWARFTests [133/133] LINK obj/llvm/unittests/CodeGen/CodeGenTests INFO:2025-10-07T21:06:17Z:root:analyze skipping analyze because previous build was not green INFO:2025-10-07T21:06:17Z:root:testing INFO:2025-10-07T21:06:17Z: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 (1 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 + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Preprocessor/print-header-json.c --check-prefix=UNSUPPORTED1 + 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 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 + 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 + /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=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 + 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 + /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_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 0x0000000106053aa8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1015a7aa8) #1 0x0000000106051858 llvm::sys::RunSignalHandlers() (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1015a5858) #2 0x0000000106053008 llvm::sys::CleanupOnSignal(unsigned long) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1015a7008) #3 0x0000000105fc7bc4 CrashRecoverySignalHandler(int) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10151bbc4) #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 0x0000000107d4fe90 clang::ASTReader::ParseLanguageOptions(llvm::SmallVector const&, llvm::StringRef, bool, clang::ASTReaderListener&, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1032a3e90) #9 0x0000000107d4aa88 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+0x10329ea88) #10 0x0000000107d52880 clang::ASTReader::ReadControlBlock(clang::serialization::ModuleFile&, llvm::SmallVectorImpl&, clang::serialization::ModuleFile const*, unsigned int) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1032a6880) #11 0x0000000107d54598 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+0x1032a8598) #12 0x0000000107d5db48 clang::ASTReader::ReadAST(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, unsigned int, clang::serialization::ModuleFile**) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1032b1b48) #13 0x0000000105291e78 clang::CompilerInstance::findOrCompileModuleAndReadAST(llvm::StringRef, clang::SourceLocation, clang::SourceLocation, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1007e5e78) #14 0x00000001052931e8 clang::CompilerInstance::loadModule(clang::SourceLocation, llvm::ArrayRef, clang::Module::NameVisibilityKind, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1007e71e8) #15 0x0000000106e20fc8 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+0x102374fc8) #16 0x0000000106e1bcd8 clang::Preprocessor::HandleIncludeDirective(clang::SourceLocation, clang::Token&, clang::detail::SearchDirIteratorImpl, clang::FileEntry const*) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10236fcd8) #17 0x0000000106e1c3bc clang::Preprocessor::HandleDirective(clang::Token&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1023703bc) #18 0x0000000106de9d88 clang::Lexer::LexTokenInternal(clang::Token&, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10233dd88) #19 0x0000000106de6f74 clang::Lexer::Lex(clang::Token&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10233af74) #20 0x0000000106e581b4 clang::Preprocessor::Lex(clang::Token&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1023ac1b4) #21 0x00000001072b2e2c clang::ParseAST(clang::Sema&, bool, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x102806e2c) #22 0x0000000105309048 clang::FrontendAction::Execute() (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10085d048) #23 0x000000010528e618 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1007e2618) #24 0x000000010540408c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10095808c) #25 0x0000000104aad320 cc1_main(llvm::ArrayRef, char const*, void*) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x100001320) #26 0x0000000104aba08c ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10000e08c) #27 0x0000000104abaa88 int llvm::function_ref&)>::callback_fn(long, llvm::SmallVectorImpl&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10000ea88) #28 0x0000000105121e60 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+0x100675e60) #29 0x0000000105fc7894 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10151b894) #30 0x0000000105121764 clang::driver::CC1Command::Execute(llvm::ArrayRef>, std::__1::basic_string, std::__1::allocator>*, bool*) const (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x100675764) #31 0x00000001050e8138 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10063c138) #32 0x00000001050e834c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10063c34c) #33 0x000000010510246c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10065646c) #34 0x0000000104ab9504 clang_main(int, char**, llvm::ToolContext const&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10000d504) #35 0x0000000104abab64 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-sbpk6k_v/print-header-json-c136a0.c clang: note: diagnostic msg: /var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-sbpk6k_v/print-header-json-c136a0.cache clang: note: diagnostic msg: /var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-sbpk6k_v/print-header-json-c136a0.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: 510.41s 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.