INFO:2025-10-07T22:42:53Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD 7f82996cd2b5..33e82e663d3a 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 33e82e663d3a [test] llvm-ar: Adjust 2 tests to pass again after inadvertent unXFAIL for some target triples (#159796) INFO:2025-10-07T22:42:57Z:root:syncing... Deleted branch merge (was 0b61d806abe1). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. [merge 538567fc2bed] [gn build] Port 879f8616ef93 2 files changed, 2 insertions(+) [merge c90997bbbfc3] [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-07T22:42:59Z:root:building ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/86] CXX obj/clang/lib/Basic/Basic.SanitizerSpecialCaseList.o [2/86] CXX obj/clang/lib/Basic/Basic.NoSanitizeList.o [3/86] AR lib/libclangBasic.a [4/86] LINK obj/clang/unittests/InstallAPI/InstallAPITests [5/86] LINK obj/clang/unittests/Basic/BasicTests [6/86] LINK obj/clang/unittests/Format/FormatTests [7/86] LINK obj/clang/unittests/Lex/LexTests [8/86] LINK obj/clang/unittests/Index/IndexTests [9/86] LINK obj/clang/unittests/Parse/ParseTests [10/86] LINK obj/clang/unittests/CrossTU/CrossTUTests [11/86] LINK obj/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [12/86] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [13/86] LINK obj/clang/unittests/Rewrite/RewriteTests [14/86] LINK obj/clang/unittests/Sema/SemaTests [15/86] LINK obj/clang/unittests/AST/ByteCode/InterpTests [16/86] LINK obj/clang/unittests/Frontend/FrontendTests [17/86] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [18/86] LINK obj/clang/unittests/AST/ASTTests [19/86] LINK obj/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [20/86] LINK obj/clang/unittests/ASTMatchers/ASTMatchersTests [21/86] LINK ./bin/apinotes-test [22/86] LINK obj/clang/unittests/Serialization/SerializationTests [23/86] LINK obj/clang/unittests/Analysis/ClangAnalysisTests [24/86] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [25/86] LINK obj/clang/unittests/Support/ClangSupportTests [26/86] LINK obj/clang/unittests/Driver/ClangDriverTests [27/86] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [28/86] LINK ./bin/clang-fuzzer-dictionary [29/86] LINK ./bin/clang-format [30/86] SOLINK ./lib/libclang.dylib [31/86] LINK obj/clang/unittests/libclang/libclangTests [32/86] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [33/86] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [34/86] LINK ./bin/clang-diff [35/86] LINK ./bin/clang-offload-bundler [36/86] LINK ./bin/clang-extdef-mapping [37/86] LINK ./bin/clang-installapi [38/86] LINK ./bin/c-index-test [39/86] LINK ./bin/clang-import-test [40/86] LINK ./bin/clang-refactor [41/86] LINK ./bin/clang-linker-wrapper [42/86] LINK ./bin/clang-nvlink-wrapper [43/86] LINK ./bin/clang-scan-deps [44/86] LINK obj/clang/unittests/Tooling/ToolingTests [45/86] LINK ./bin/diagtool [46/86] LINK ./bin/clang-sycl-linker [47/86] LINK ./bin/clang-check [48/86] LINK ./bin/clang-repl [49/86] LINK ./bin/lldb-server [50/86] LINK ./bin/dexp [51/86] LINK obj/clang-tools-extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [52/86] LINK ./bin/clang [53/86] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [54/86] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [55/86] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [56/86] LINK ./bin/modularize [57/86] LINK ./bin/pp-trace [58/86] LINK ./bin/clangd [59/86] LINK ./bin/clangd-indexer [60/86] LINK obj/clang-tools-extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [61/86] LINK obj/clang-tools-extra/unittests/clang-move/ClangMoveTests [62/86] LINK obj/clang-tools-extra/unittests/clang-include-fixer/ClangIncludeFixerTests [63/86] LINK ./bin/clang-tidy [64/86] LINK obj/clang-tools-extra/unittests/clang-doc/ClangDocTests [65/86] COPY_BUNDLE_DATA bin/clangd gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc/Contents/MacOS/clangd [66/86] LINK obj/clang-tools-extra/clangd/unittests/xpc/ClangdXpcTests [67/86] LINK obj/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [68/86] LINK obj/clang-tools-extra/unittests/clang-query/ClangQueryTests [69/86] COPY_BUNDLE_DATA gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc lib/ClangdXPC.framework/Versions/A/XPCServices/clangd.xpc [70/86] LINK ./bin/clangd-xpc-test-client [71/86] LINK ./bin/clang-include-fixer [72/86] LINK ./bin/lldb-test [73/86] LINK ./bin/find-all-symbols [74/86] LINK ./bin/clang-query [75/86] LINK ./bin/clang-apply-replacements [76/86] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [77/86] LINK ./bin/lldb-dap [78/86] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [79/86] LINK ./bin/clang-move [80/86] LINK ./bin/lldb [81/86] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [82/86] LINK ./bin/clang-reorder-fields [83/86] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [84/86] LINK ./bin/clang-change-namespace [85/86] LINK ./bin/clang-doc [86/86] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests INFO:2025-10-07T22:43:10Z:root:analyze skipping analyze because previous build was not green INFO:2025-10-07T22:43:10Z:root:testing INFO:2025-10-07T22:43: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: 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 + 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 0x00000001055ffb18 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1015a7b18) #1 0x00000001055fd8c8 llvm::sys::RunSignalHandlers() (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1015a58c8) #2 0x00000001055ff078 llvm::sys::CleanupOnSignal(unsigned long) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1015a7078) #3 0x0000000105573c34 CrashRecoverySignalHandler(int) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10151bc34) #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 0x00000001072fbd4c clang::ASTReader::ParseLanguageOptions(llvm::SmallVector const&, llvm::StringRef, bool, clang::ASTReaderListener&, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1032a3d4c) #9 0x00000001072f6944 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+0x10329e944) #10 0x00000001072fe73c clang::ASTReader::ReadControlBlock(clang::serialization::ModuleFile&, llvm::SmallVectorImpl&, clang::serialization::ModuleFile const*, unsigned int) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1032a673c) #11 0x0000000107300454 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+0x1032a8454) #12 0x0000000107309a04 clang::ASTReader::ReadAST(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, unsigned int, clang::serialization::ModuleFile**) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1032b1a04) #13 0x000000010483dee8 clang::CompilerInstance::findOrCompileModuleAndReadAST(llvm::StringRef, clang::SourceLocation, clang::SourceLocation, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1007e5ee8) #14 0x000000010483f258 clang::CompilerInstance::loadModule(clang::SourceLocation, llvm::ArrayRef, clang::Module::NameVisibilityKind, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1007e7258) #15 0x00000001063cd038 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+0x102375038) #16 0x00000001063c7d48 clang::Preprocessor::HandleIncludeDirective(clang::SourceLocation, clang::Token&, clang::detail::SearchDirIteratorImpl, clang::FileEntry const*) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10236fd48) #17 0x00000001063c842c clang::Preprocessor::HandleDirective(clang::Token&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10237042c) #18 0x0000000106395df8 clang::Lexer::LexTokenInternal(clang::Token&, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10233ddf8) #19 0x0000000106392fe4 clang::Lexer::Lex(clang::Token&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10233afe4) #20 0x0000000106404224 clang::Preprocessor::Lex(clang::Token&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1023ac224) #21 0x000000010685ee9c clang::ParseAST(clang::Sema&, bool, bool) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x102806e9c) #22 0x00000001048b50b8 clang::FrontendAction::Execute() (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10085d0b8) #23 0x000000010483a688 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1007e2688) #24 0x00000001049b00fc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x1009580fc) #25 0x0000000104059320 cc1_main(llvm::ArrayRef, char const*, void*) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x100001320) #26 0x000000010406608c ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10000e08c) #27 0x0000000104066a88 int llvm::function_ref&)>::callback_fn(long, llvm::SmallVectorImpl&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10000ea88) #28 0x00000001046cde8c 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 0x0000000105573904 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10151b904) #30 0x00000001046cd790 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 0x0000000104694164 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 0x0000000104694378 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10063c378) #33 0x00000001046ae498 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x100656498) #34 0x0000000104065504 clang_main(int, char**, llvm::ToolContext const&) (/Users/thakis/src/llvm-project/out/gn/bin/clang+0x10000d504) #35 0x0000000104066b64 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-0zwf2pr7/print-header-json-faffbd.c clang: note: diagnostic msg: /var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-0zwf2pr7/print-header-json-faffbd.cache clang: note: diagnostic msg: /var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-0zwf2pr7/print-header-json-faffbd.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: 507.90s 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.