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: FAIL: Clang :: Analysis/ctor.mm (1 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 0x000055a80bb95758 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x67ee758) #1 0x000055a80bb9340e llvm::sys::RunSignalHandlers() (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x67ec40e) #2 0x000055a80bb95e51 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0 #3 0x00007f1c27e49df0 (/lib/x86_64-linux-gnu/libc.so.6+0x3fdf0) #4 0x00007f1c27e9e95c __pthread_kill_implementation ./nptl/pthread_kill.c:44:76 #5 0x00007f1c27e49cc2 raise ./signal/../sysdeps/posix/raise.c:27:6 #6 0x00007f1c27e324ac abort ./stdlib/abort.c:81:3 #7 0x00007f1c27e32420 __assert_perror_fail ./assert/assert-perr.c:31:1 #8 0x000055a80e9affbf 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+0x9608fbf) #9 0x000055a80e98d855 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+0x95e6855) #10 0x000055a80e98ad05 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x95e3d05) #11 0x000055a80e98aa2a 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+0x95e3a2a) #12 0x000055a80e969ddf clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x95c2ddf) #13 0x000055a80e9693d4 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+0x95c23d4) #14 0x000055a80e968b9a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x95c1b9a) #15 0x000055a80e5f1410 (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) AnalysisConsumer.cpp:0:0 #16 0x000055a80e5ef7f5 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) AnalysisConsumer.cpp:0:0 #17 0x000055a80ce9f829 clang::ParseAST(clang::Sema&, bool, bool) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x7af8829) #18 0x000055a80ae59956 clang::FrontendAction::Execute() (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x5ab2956) #19 0x000055a80adca97d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x5a2397d) #20 0x000055a80af3de53 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x5b96e53) #21 0x000055a80a4ac0cf cc1_main(llvm::ArrayRef, char const*, void*) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x51050cf) #22 0x000055a80a4baea9 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) driver.cpp:0:0 #23 0x000055a80a4b9f42 clang_main(int, char**, llvm::ToolContext const&) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x5112f42) #24 0x000055a80a4bbd47 main (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang+0x5114d47) #25 0x00007f1c27e33ca8 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3 #26 0x00007f1c27e33d65 call_init ./csu/../csu/libc-start.c:128:20 #27 0x00007f1c27e33d65 __libc_start_main ./csu/../csu/libc-start.c:347:5 #28 0x000055a80a4aa791 _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: 739402 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: 146.79s 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.