INFO:2025-03-26T23:46:32Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD 78d7dd297f20..3386156b1e84 main -> origin/main Switched to branch 'main' Your branch is behind 'origin/main' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) HEAD is now at 3386156b1e84 [clang][ExtractAPI] fix a couple crashes when used via libclang (#132297) INFO:2025-03-26T23:46:37Z:root:syncing... Deleted branch merge (was 78d7dd297f20). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. INFO:2025-03-26T23:46:37Z:root:building ninja: Entering directory `out/gn' [1/70] CXX obj/clang/lib/ExtractAPI/ExtractAPI.DeclarationFragments.o [2/70] CXX obj/clang/tools/libclang/libclang.CXExtractAPI.o [3/70] CXX obj/clang/lib/ExtractAPI/ExtractAPI.ExtractAPIConsumer.o [4/70] AR lib/libclangExtractAPI.a [5/70] LINK obj/clang-tools-extra/clangd/unittests/xpc/ClangdXpcTests [6/70] LINK ./bin/clang-scan-deps [7/70] LINK ./bin/dexp [8/70] LINK obj/clang/unittests/Frontend/FrontendTests [9/70] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [10/70] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [11/70] LINK ./bin/clangd-indexer [12/70] LINK ./bin/clangd [13/70] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangxpc_bundle_xpc_service_executable.stamp [14/70] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangd.xpc.inputdeps.stamp [15/70] COPY_BUNDLE_DATA bin/clangd gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc/Contents/MacOS/clangd [16/70] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangd.xpc.stamp [17/70] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangdxpc_bundle_xpc.stamp [18/70] STAMP obj/clang-tools-extra/clangd/xpc/framework/ClangdXPC.framework.inputdeps.stamp [19/70] COPY_BUNDLE_DATA gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc lib/ClangdXPC.framework/Versions/A/XPCServices/clangd.xpc [20/70] STAMP obj/clang-tools-extra/clangd/xpc/framework/ClangdXPC.framework.stamp [21/70] SOLINK ./lib/libclang.dylib [22/70] LINK obj/clang/unittests/Tooling/ToolingTests [23/70] LINK ./bin/clang [24/70] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [25/70] LINK ./bin/clang-repl [26/70] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [27/70] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [28/70] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [29/70] STAMP obj/clang/tools/driver/clang-cpp.stamp [30/70] STAMP obj/clang/tools/driver/clang-cl.stamp [31/70] STAMP obj/clang/tools/driver/clangxx.stamp [32/70] STAMP obj/clang/tools/driver/symlinks.stamp [33/70] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [34/70] STAMP obj/bolt/test/test.stamp [35/70] STAMP obj/lldb/test/test.stamp [36/70] STAMP obj/clang.stamp [37/70] LINK obj/clang/unittests/libclang/libclangTests [38/70] STAMP stage2_unix/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [39/70] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/cxx_sources.inputdeps.stamp [40/70] STAMP stage2_baremetal_aarch64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [41/70] STAMP stage2_ios_aarch64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [42/70] STAMP stage2_unix/obj/compiler-rt/lib/asan/asan_shared_library.inputdeps.stamp [43/70] STAMP stage2_unix/obj/compiler-rt/lib/interception/sources.inputdeps.stamp [44/70] STAMP stage2_unix/obj/libunwind/src/unwind_static.inputdeps.stamp [45/70] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/sources.inputdeps.stamp [46/70] STAMP stage2_unix/obj/libunwind/src/unwind_shared.inputdeps.stamp [47/70] STAMP stage2_unix/obj/libunwind/src/unwind_static_exported.inputdeps.stamp [48/70] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/standalone_sources.inputdeps.stamp [49/70] STAMP stage2_unix/obj/compiler-rt/lib/lsan/common_sources.inputdeps.stamp [50/70] STAMP stage2_unix/obj/compiler-rt/lib/profile/profile.inputdeps.stamp [51/70] STAMP stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.inputdeps.stamp [52/70] STAMP obj/clang/unittests/unittests.stamp [53/70] STAMP stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.inputdeps.stamp [54/70] STAMP stage2_iossim_x64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [55/70] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [56/69] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [57/66] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [58/63] LINK ./bin/clangd-xpc-test-client [59/63] STAMP obj/clang-tools-extra/clangd/test/test.stamp [60/63] LINK ./bin/c-index-test [61/63] STAMP obj/clang/test/test.stamp [62/63] STAMP obj/clang-tools-extra/test/test.stamp [63/63] STAMP obj/default.stamp INFO:2025-03-26T23:47:01Z:root:analyze gn analyze output: { "compile_targets": [], "status": "Found dependency", "test_targets": [ "//clang-tools-extra/clangd/test:check-clangd", "//clang-tools-extra/test:check-clang-tools", "//clang/test:check-clang" ] } gn analyze input: { "files": [ "//clang/include/clang/ExtractAPI/ExtractAPIVisitor.h", "//clang/lib/ExtractAPI/DeclarationFragments.cpp", "//clang/test/Index/extract-api-cursor-cpp.cpp" ], "test_targets": [ "//clang-tools-extra/clangd/test:check-clangd", "//clang-tools-extra/test:check-clang-tools", "//clang/test:check-clang", "//lld/test:check-lld", "//llvm/test:check-llvm" ], "additional_compile_targets": [] } running all tests due to change to blacklisted file INFO:2025-03-26T23:47:02Z:root:testing INFO:2025-03-26T23:47:02Z:root:test check-clang ninja: Entering directory `out/gn' [0/2] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find cir-opt in /Users/thakis/src/llvm-project/out/gn/bin:/Users/thakis/src/llvm-project/out/gn/bin llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/util.py:473: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk' llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 21101 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 874.97s Total Discovered Tests: 46867 Skipped : 35 (0.07%) Unsupported : 143 (0.31%) Passed : 46655 (99.55%) Expectedly Failed: 34 (0.07%) INFO:2025-03-27T00:02:29Z:root:test check-clang-tools ninja: Entering directory `out/gn' [0/2] ACTION //clang-tools-extra/test:check-clang-tools(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang -- Testing: 1005 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 88.90s Total Discovered Tests: 1429 Unsupported : 3 (0.21%) Passed : 1425 (99.72%) Expectedly Failed: 1 (0.07%) INFO:2025-03-27T00:04:06Z:root:test check-clangd ninja: Entering directory `out/gn' [0/2] ACTION //clang-tools-extra/clangd/test:check-clangd(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang -- Testing: 99 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 22.49s Total Discovered Tests: 1372 Unsupported: 7 (0.51%) Passed : 1365 (99.49%) INFO:2025-03-27T00:04:32Z:root:test check-lld ninja: Entering directory `out/gn' [0/2] ACTION //lld/test:check-lld(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 3071 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 97.26s Total Discovered Tests: 3071 Unsupported : 25 (0.81%) Passed : 3045 (99.15%) Expectedly Failed: 1 (0.03%) INFO:2025-03-27T00:06:15Z:root:test check-llvm ninja: Entering directory `out/gn' [0/2] ACTION //llvm/test:check-llvm(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 56608 tests, 8 workers -- Testing: 0.. 10.. 20.. FAIL: LLVM :: ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll (2535 of 56608) ******************** TEST 'LLVM :: ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll' FAILED ******************** Exit Code: 2 Command Output (stderr): -- /Users/thakis/src/llvm-project/out/gn/bin/lli -jit-kind=orc-lazy -compile-threads=2 -thread-entry hello /Users/thakis/src/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll # RUN: at line 1 + /Users/thakis/src/llvm-project/out/gn/bin/lli -jit-kind=orc-lazy -compile-threads=2 -thread-entry hello /Users/thakis/src/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. #0 0x000000010304f160 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/Users/thakis/src/llvm-project/out/gn/bin/lli+0x100e3f160) #1 0x000000010304d1e0 llvm::sys::RunSignalHandlers() (/Users/thakis/src/llvm-project/out/gn/bin/lli+0x100e3d1e0) #2 0x000000010304f990 SignalHandler(int, __siginfo*, void*) (/Users/thakis/src/llvm-project/out/gn/bin/lli+0x100e3f990) #3 0x0000000188b8f584 (/usr/lib/system/libsystem_platform.dylib+0x180477584) #4 0x0000000188b5e21c (/usr/lib/system/libsystem_pthread.dylib+0x18044621c) #5 0x0000000188a84ad0 (/usr/lib/libc++.1.dylib+0x18036cad0) #6 0x0000000102ad27a0 void llvm::detail::UniqueFunctionBase, llvm::detail::DenseMapPair>>>::CallImpl, llvm::detail::DenseMapPair> const&)::$_0>(void*, llvm::Expected, llvm::detail::DenseMapPair>>&) (/Users/thakis/src/llvm-project/out/gn/bin/lli+0x1008c27a0) #7 0x0000000102acd5ac llvm::orc::AsynchronousSymbolQuery::handleComplete(llvm::orc::ExecutionSession&)::RunQueryCompleteTask::run() (/Users/thakis/src/llvm-project/out/gn/bin/lli+0x1008bd5ac) #8 0x0000000102ba7950 void* std::__1::__thread_proxy>, llvm::orc::DynamicThreadPoolTaskDispatcher::dispatch(std::__1::unique_ptr>)::$_0>>(void*) (/Users/thakis/src/llvm-project/out/gn/bin/lli+0x100997950) #9 0x0000000188b5ef94 (/usr/lib/system/libsystem_pthread.dylib+0x180446f94) #10 0x0000000188b59d34 (/usr/lib/system/libsystem_pthread.dylib+0x180441d34) FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): LLVM :: ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll Testing Time: 925.84s Total Discovered Tests: 64700 Skipped : 32 (0.05%) Unsupported : 2349 (3.63%) Passed : 62141 (96.04%) Expectedly Failed: 177 (0.27%) Failed : 1 (0.00%) FAILED: gen/llvm/test/run-lit python3 bin/llvm-lit -sv ../../llvm/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-llvm']' returned non-zero exit status 1.