INFO:2025-05-07T19:32:44Z:root:pulling... From github.com:llvm/llvm-project * branch main -> FETCH_HEAD 13c464be84d9..db38cc27bc61 main -> origin/main Switched to branch 'main' Your branch is behind 'origin/main' by 4 commits, and can be fast-forwarded. (use "git pull" to update your local branch) HEAD is now at db38cc27bc61 [analyzer] Make it a noop when initializing a field of empty record (#138594) INFO:2025-05-07T19:32:46Z:root:syncing... Deleted branch merge (was 13c464be84d9). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. INFO:2025-05-07T19:32:47Z:root:building ninja: Entering directory `out/gn' [1/236] CXX obj/clang/lib/StaticAnalyzer/Core/Core.ExprEngineCXX.o [2/236] AR lib/libclangStaticAnalyzerCore.a [3/236] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [4/236] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [5/236] LINK ./bin/clang-scan-deps [6/236] LINK ./bin/dexp [7/236] LINK ./bin/clang-tidy [8/236] LINK ./bin/clangd-indexer [9/236] LINK obj/clang/unittests/Frontend/FrontendTests [10/236] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [11/236] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [12/236] LINK ./bin/clangd [13/236] LINK ./bin/clang [14/236] LINK obj/clang/unittests/Tooling/ToolingTests [15/236] LINK ./bin/clang-check [16/236] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [17/236] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [18/236] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [19/236] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [20/236] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [21/236] ACTION //compiler-rt/test/hwasan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [22/236] ACTION //compiler-rt/test/builtins:builtins_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [23/236] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [24/236] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [25/236] ACTION //libcxx/src:cxx_symlink(//llvm/utils/gn/build/toolchain:stage2_unix) [26/236] ACTION //llvm/include/llvm/Config:AsmParsers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [27/236] ACTION //llvm/include/llvm/Config:Targets.def(//llvm/utils/gn/build/toolchain:stage2_unix) [28/236] ACTION //llvm/include/llvm/Config:TargetMCAs.def(//llvm/utils/gn/build/toolchain:stage2_unix) [29/236] ACTION //llvm/include/llvm/Config:Targets(//llvm/utils/gn/build/toolchain:stage2_unix) [30/236] ACTION //llvm/include/llvm/Config:AsmPrinters.def(//llvm/utils/gn/build/toolchain:stage2_unix) [31/236] ACTION //llvm/include/llvm/Config:abi-breaking(//llvm/utils/gn/build/toolchain:stage2_unix) [32/235] ACTION //llvm/include/llvm/Config:llvm-config(//llvm/utils/gn/build/toolchain:stage2_unix) [33/75] ACTION //llvm/include/llvm/Config:Disassemblers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [34/75] ACTION //llvm/include/llvm/Support:write_extension_def(//llvm/utils/gn/build/toolchain:stage2_unix) [35/75] ACTION //llvm/include/llvm/Config:TargetExegesis.def(//llvm/utils/gn/build/toolchain:stage2_unix) [36/75] ACTION //llvm/include/llvm/Support:write_vcsrevision(//llvm/utils/gn/build/toolchain:stage2_unix) [37/75] ACTION //libcxx/src:cxx_linker_script(//llvm/utils/gn/build/toolchain:stage2_unix) [38/75] ACTION //llvm/include/llvm/Config:config(//llvm/utils/gn/build/toolchain:stage2_unix) [39/43] LINK ./bin/clang-repl [40/43] ACTION //compiler-rt/lib/ubsan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [41/43] ACTION //compiler-rt/lib/hwasan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [42/43] SOLINK lib/clang/21/lib/linux/libclang_rt.ubsan_standalone-x86_64.so [43/43] SOLINK lib/clang/21/lib/linux/libclang_rt.hwasan_aliases-x86_64.so INFO:2025-05-07T19:32:56Z: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", "//compiler-rt/test/hwasan:check-hwasan" ] } gn analyze input: { "files": [ "//clang/include/clang/CIR/MissingFeatures.h", "//clang/lib/CIR/CodeGen/CIRGenFunction.h", "//clang/lib/CIR/CodeGen/CIRGenStmt.cpp", "//clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp", "//clang/test/Analysis/issue-137252.cpp", "//clang/test/CIR/CodeGen/switch.cpp", "//libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/close.pass.cpp", "//lld/CMakeLists.txt" ], "test_targets": [ "//clang-tools-extra/clangd/test:check-clangd", "//clang-tools-extra/test:check-clang-tools", "//clang/test:check-clang", "//compiler-rt/test/hwasan:check-hwasan", "//lld/test:check-lld", "//llvm/test:check-llvm" ], "additional_compile_targets": [] } running all tests due to change to blacklisted file INFO:2025-05-07T19:32:56Z:root:testing INFO:2025-05-07T19:32:56Z:root:test check-clang ninja: Entering directory `out/gn' [0/1] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using clang: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find cir-opt in /usr/local/google/home/thakis/src/llvm-project/out/gn/bin:/usr/local/google/home/thakis/src/llvm-project/out/gn/bin llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 22480 tests, 64 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. FAIL: Clang :: Analysis/ctor.mm (2113 of 22480) ******************** TEST 'Clang :: Analysis/ctor.mm' FAILED ******************** Exit Code: 134 Command Output (stderr): -- /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/21/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /usr/local/google/home/thakis/src/llvm-project/clang/test/Analysis/ctor.mm # RUN: at line 1 + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/21/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /usr/local/google/home/thakis/src/llvm-project/clang/test/Analysis/ctor.mm clang: ../../llvm/include/llvm/Support/Casting.h:109: static bool llvm::isa_impl_cl::doit(const From *) [To = clang::CXXRecordDecl, From = const clang::RecordDecl *]: Assertion `Val && "isa<> used on a null pointer"' failed. 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: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/21/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /usr/local/google/home/thakis/src/llvm-project/clang/test/Analysis/ctor.mm 1. parser at end of file 2. While analyzing stack: #0 Calling ZeroInitialization::testArrayNew() 3. /usr/local/google/home/thakis/src/llvm-project/clang/test/Analysis/ctor.mm:580:23: Error evaluating statement 4. /usr/local/google/home/thakis/src/llvm-project/clang/test/Analysis/ctor.mm:580:23: Error evaluating statement #0 0x000055c2af9b4758 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x67ee758) #1 0x000055c2af9b240e llvm::sys::RunSignalHandlers() (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x67ec40e) #2 0x000055c2af9b4de1 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0 #3 0x00007f2b4dc49df0 (/lib/x86_64-linux-gnu/libc.so.6+0x3fdf0) #4 0x00007f2b4dc9e95c __pthread_kill_implementation ./nptl/pthread_kill.c:44:76 #5 0x00007f2b4dc49cc2 raise ./signal/../sysdeps/posix/raise.c:27:6 #6 0x00007f2b4dc324ac abort ./stdlib/abort.c:81:3 #7 0x00007f2b4dc32420 __assert_perror_fail ./assert/assert-perr.c:31:1 #8 0x000055c2b27cef4f clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x9608f4f) #9 0x000055c2b27ac7e5 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x95e67e5) #10 0x000055c2b27a9c95 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x95e3c95) #11 0x000055c2b27a99ba clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x95e39ba) #12 0x000055c2b2788d6f clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x95c2d6f) #13 0x000055c2b2788364 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x95c2364) #14 0x000055c2b2787b2a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x95c1b2a) #15 0x000055c2b24103a0 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) AnalysisConsumer.cpp:0:0 #16 0x000055c2b240e785 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) AnalysisConsumer.cpp:0:0 #17 0x000055c2b0cbe7b9 clang::ParseAST(clang::Sema&, bool, bool) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x7af87b9) #18 0x000055c2aec78956 clang::FrontendAction::Execute() (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x5ab2956) #19 0x000055c2aebe997d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x5a2397d) #20 0x000055c2aed5ce53 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x5b96e53) #21 0x000055c2ae2cb0cf cc1_main(llvm::ArrayRef, char const*, void*) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x51050cf) #22 0x000055c2ae2d9ea9 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) driver.cpp:0:0 #23 0x000055c2ae2d8f42 clang_main(int, char**, llvm::ToolContext const&) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x5112f42) #24 0x000055c2ae2dad47 main (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x5114d47) #25 0x00007f2b4dc33ca8 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3 #26 0x00007f2b4dc33d65 call_init ./csu/../csu/libc-start.c:128:20 #27 0x00007f2b4dc33d65 __libc_start_main ./csu/../csu/libc-start.c:347:5 #28 0x000055c2ae2c9791 _start (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x5103791) /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Analysis/Output/ctor.mm.script: line 4: 479853 Aborted (core dumped) /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/21/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /usr/local/google/home/thakis/src/llvm-project/clang/test/Analysis/ctor.mm -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): Clang :: Analysis/ctor.mm Testing Time: 147.76s Total Discovered Tests: 46935 Skipped : 4 (0.01%) Unsupported : 214 (0.46%) Passed : 46685 (99.47%) Expectedly Failed: 31 (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.