INFO:2025-10-07T20:23:47Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD 0df5fc7d825d..0d758de6fbbe 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 0d758de6fbbe [MLIR][XeVM] blockload and blockstore ops should use scalar types (#161708) INFO:2025-10-07T20:23:50Z:root:syncing... Deleted branch merge (was 7e66fcb56841). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. [merge 4eb2b5cb6e45] [gn build] Port c7d776b06897 1 file changed, 2 deletions(-) [gn build] Port c7d776b06897 -- https://github.com/llvm/llvm-project/commit/c7d776b06897 INFO:2025-10-07T20:23:51Z:root:building ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/125] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.VPlanConstruction.o [2/125] AR lib/libLLVMVectorize.a [3/125] LINK obj/clang-tools-extra/clangd/unittests/xpc/ClangdXpcTests [4/125] LINK ./bin/dexp [5/125] LINK ./bin/llvm-bolt [6/125] LINK ./bin/llvm-bolt-heatmap [7/125] LINK obj/bolt/unittests/Core/CoreTests [8/125] ACTION //bolt/tools/driver:llvm-boltdiff(//llvm/utils/gn/build/toolchain:unix) [9/125] ACTION //bolt/tools/driver:perf2bolt(//llvm/utils/gn/build/toolchain:unix) [10/125] LINK ./bin/clangd [11/125] COPY_BUNDLE_DATA bin/clangd gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc/Contents/MacOS/clangd [12/125] LINK ./bin/clangd-indexer [13/125] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [14/125] COPY_BUNDLE_DATA gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc lib/ClangdXPC.framework/Versions/A/XPCServices/clangd.xpc [15/125] LINK ./bin/clangd-xpc-test-client [16/125] LINK ./bin/lld [17/125] LINK obj/lld/unittests/AsLibELF/LLDAsLibELFTests [18/125] LINK obj/lld/unittests/AsLibAll/LLDAsLibAllTests [19/125] ACTION //lld/tools/lld:ld.lld(//llvm/utils/gn/build/toolchain:unix) [20/125] ACTION //lld/tools/lld:lld-link(//llvm/utils/gn/build/toolchain:unix) [21/125] ACTION //lld/tools/lld:ld64.lld(//llvm/utils/gn/build/toolchain:unix) [22/125] ACTION //lld/tools/lld:wasm-ld(//llvm/utils/gn/build/toolchain:unix) [23/125] LINK ./bin/clang-scan-deps [24/125] LINK ./bin/clang-import-test [25/125] LINK ./bin/clang-linker-wrapper [26/125] LINK ./bin/clang-nvlink-wrapper [27/125] LINK ./bin/clang-check [28/125] LINK obj/clang/unittests/CrossTU/CrossTUTests [29/125] LINK ./bin/clang-sycl-linker [30/125] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [31/125] LINK ./bin/clang-repl [32/125] SOLINK ./lib/libclang.dylib [33/125] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [34/125] LINK obj/clang/unittests/libclang/libclangTests [35/125] LINK obj/clang/unittests/Driver/ClangDriverTests [36/125] LINK obj/clang/unittests/Frontend/FrontendTests [37/125] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [38/125] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [39/125] LINK ./bin/lli-child-target [40/125] LINK ./bin/c-index-test [41/125] LINK ./bin/llvm-ar [42/125] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:unix) [43/125] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:unix) [44/125] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:unix) [45/125] LINK ./bin/bugpoint [46/125] LINK ./bin/llvm-cxxdump [47/125] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [48/125] LINK ./bin/lli [49/125] LINK ./bin/llvm-cxxmap [50/125] LINK ./bin/clang [51/125] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [52/125] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [53/125] LINK ./bin/dsymutil [54/125] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [55/125] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [56/125] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [57/125] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [58/125] LINK obj/clang/unittests/Tooling/ToolingTests [59/125] LINK ./bin/llc [60/125] LINK obj/llvm/unittests/Target/ARM/ARMTests [61/125] LINK obj/llvm/unittests/Target/RISCV/RISCVTests [62/125] LINK ./bin/llvm-dwp [63/125] LINK obj/llvm/unittests/Target/X86/X86Tests [64/125] LINK ./bin/llvm-dwarfutil [65/125] LINK ./bin/llvm-c-test [66/125] LINK obj/llvm/unittests/Transforms/IPO/IPOTests [67/125] LINK obj/llvm/unittests/Transforms/Coroutines/CoroTests [68/125] LINK ./bin/lldb-server [69/125] LINK obj/llvm/unittests/Transforms/Instrumentation/InstrumentationTests [70/125] LINK obj/llvm/unittests/Transforms/Scalar/ScalarTests [71/125] LINK obj/llvm/unittests/Transforms/Vectorize/VectorizeTests [72/125] LINK obj/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests [73/125] LINK obj/llvm/unittests/tools/llvm-exegesis/LLVMExegesisTests [74/125] LINK obj/llvm/unittests/tools/llvm-exegesis/AArch64/LLVMExegesisAArch64Tests [75/125] LINK obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests [76/125] LINK ./bin/llvm-extract [77/125] LINK ./bin/llvm-exegesis [78/125] LINK obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests [79/125] LINK obj/llvm/unittests/tools/llvm-exegesis/RISCV/LLVMExegesisRISCVTests [80/125] LINK obj/llvm/unittests/Transforms/Utils/UtilsTests [81/125] LINK obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests [82/125] LINK ./bin/llvm-link [83/125] LINK ./bin/llvm-libtool-darwin [84/125] LINK ./bin/llvm-lipo [85/125] LINK ./bin/llvm-jitlink [86/125] LINK ./bin/llvm-gsymutil [87/125] LINK ./bin/llvm-mc [88/125] LINK ./bin/llvm-isel-fuzzer [89/125] LINK ./bin/llvm-ml [90/125] LINK ./bin/llvm-profgen [91/125] LINK ./bin/lldb-test [92/125] ACTION //llvm/tools/llvm-ml:llvm-ml64(//llvm/utils/gn/build/toolchain:unix) [93/125] LINK ./bin/llvm-lto [94/125] LINK ./bin/llvm-lto2 [95/125] LINK ./bin/llvm-opt-fuzzer [96/125] LINK ./bin/lldb-dap [97/125] LINK ./bin/lldb [98/125] LINK ./bin/llvm-rtdyld [99/125] LINK obj/llvm/unittests/CGData/CodeGenDataTests [100/125] LINK ./bin/llvm-xray [101/125] LINK ./bin/llvm-split [102/125] SOLINK ./lib/libLTO.dylib [103/125] LINK obj/llvm/unittests/DebugInfo/GSYM/DebugInfoGSYMTests [104/125] LINK obj/llvm/unittests/Analysis/AnalysisTests [105/125] LINK obj/llvm/unittests/ExecutionEngine/ExecutionEngineTests [106/125] LINK ./bin/opt [107/125] LINK obj/llvm/unittests/ExecutionEngine/JITLink/JITLinkTests [108/125] LINK ./bin/llvm-reduce [109/125] LINK obj/llvm/unittests/CodeGen/CodeGenTests [110/125] LINK obj/llvm/unittests/ExecutionEngine/MCJIT/MCJITTests [111/125] LINK obj/llvm/unittests/Frontend/LLVMFrontendTests [112/125] LINK obj/llvm/unittests/ExecutionEngine/Orc/OrcJITTests [113/125] LINK obj/llvm/unittests/MC/MCTests [114/125] LINK obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests [115/125] LINK obj/llvm/unittests/DebugInfo/DWARF/DebugInfoDWARFTests [116/125] LINK obj/llvm/unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests [117/125] LINK obj/llvm/unittests/IR/IRTests [118/125] LINK obj/llvm/unittests/MC/AMDGPU/AMDGPUMCTests [119/125] LINK obj/llvm/unittests/Passes/Plugins/PluginsTests [120/125] LINK obj/llvm/unittests/Passes/PassBuilderBindings/PassesBindingsTests [121/125] LINK obj/llvm/unittests/MI/MITests [122/125] LINK obj/llvm/unittests/MIR/MIRTests [123/125] LINK obj/llvm/unittests/Target/AArch64/AArch64Tests [124/125] LINK obj/llvm/unittests/Target/AMDGPU/AMDGPUTests [125/125] LINK obj/llvm/unittests/Target/TargetMachineCTests INFO:2025-10-07T20:24:10Z:root:analyze skipping analyze because previous build was not green INFO:2025-10-07T20:24:10Z:root:testing INFO:2025-10-07T20:24:10Z: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: 22583 tests, 8 workers -- Testing: FAIL: Clang :: Preprocessor/print-header-json.c (1 of 22583) ******************** 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 + 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 0x0000000105fa3750 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10159b750) #1 0x0000000105fa1500 llvm::sys::RunSignalHandlers() (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x101599500) #2 0x0000000105fa2cb0 llvm::sys::CleanupOnSignal(unsigned long) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10159acb0) #3 0x0000000105f17404 CrashRecoverySignalHandler(int) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10150f404) #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 0x0000000107ca9be8 clang::ASTReader::ParseLanguageOptions(llvm::SmallVector const&, llvm::StringRef, bool, clang::ASTReaderListener&, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1032a1be8) #9 0x0000000107ca47e0 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+0x10329c7e0) #10 0x0000000107cac5d8 clang::ASTReader::ReadControlBlock(clang::serialization::ModuleFile&, llvm::SmallVectorImpl&, clang::serialization::ModuleFile const*, unsigned int) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1032a45d8) #11 0x0000000107cae2f0 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+0x1032a62f0) #12 0x0000000107cb78a0 clang::ASTReader::ReadAST(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, unsigned int, clang::serialization::ModuleFile**) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1032af8a0) #13 0x00000001051ede78 clang::CompilerInstance::findOrCompileModuleAndReadAST(llvm::StringRef, clang::SourceLocation, clang::SourceLocation, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1007e5e78) #14 0x00000001051ef1e8 clang::CompilerInstance::loadModule(clang::SourceLocation, llvm::ArrayRef, clang::Module::NameVisibilityKind, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1007e71e8) #15 0x0000000106d7ad20 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+0x102372d20) #16 0x0000000106d75a30 clang::Preprocessor::HandleIncludeDirective(clang::SourceLocation, clang::Token&, clang::detail::SearchDirIteratorImpl, clang::FileEntry const*) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10236da30) #17 0x0000000106d76114 clang::Preprocessor::HandleDirective(clang::Token&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10236e114) #18 0x0000000106d43ae0 clang::Lexer::LexTokenInternal(clang::Token&, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10233bae0) #19 0x0000000106d40ccc clang::Lexer::Lex(clang::Token&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x102338ccc) #20 0x0000000106db1f0c clang::Preprocessor::Lex(clang::Token&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1023a9f0c) #21 0x000000010720cb84 clang::ParseAST(clang::Sema&, bool, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x102804b84) #22 0x0000000105265048 clang::FrontendAction::Execute() (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10085d048) #23 0x00000001051ea618 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1007e2618) #24 0x000000010536008c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10095808c) #25 0x0000000104a09320 cc1_main(llvm::ArrayRef, char const*, void*) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x100001320) #26 0x0000000104a1608c ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10000e08c) #27 0x0000000104a16a88 int llvm::function_ref&)>::callback_fn(long, llvm::SmallVectorImpl&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10000ea88) #28 0x000000010507de60 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 0x0000000105f170d4 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10150f0d4) #30 0x000000010507d764 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 0x0000000105044138 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 0x000000010504434c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10063c34c) #33 0x000000010505e46c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10065646c) #34 0x0000000104a15504 clang_main(int, char**, llvm::ToolContext const&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10000d504) #35 0x0000000104a16b64 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-vj_g3pv6/print-header-json-799b97.c clang: note: diagnostic msg: /var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-vj_g3pv6/print-header-json-799b97.cache clang: note: diagnostic msg: /var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-vj_g3pv6/print-header-json-799b97.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: 512.15s Total Discovered Tests: 48460 Skipped : 36 (0.07%) Unsupported : 555 (1.15%) Passed : 47836 (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.