ninja: Entering directory `out/gn' [0/2] ACTION //llvm/test:check-llvm(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: 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:506: 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:506: 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:506: note: using wasm-ld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 57870 tests, 64 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80 FAIL: LLVM :: DebugInfo/X86/set.ll (21983 of 57870) ******************** TEST 'LLVM :: DebugInfo/X86/set.ll' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 3: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/llc -debugger-tune=gdb -dwarf-version=4 -filetype=obj -o /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/llvm/test/DebugInfo/X86/Output/set.ll.tmp.o < /usr/local/google/home/thakis/src/llvm-project/llvm/test/DebugInfo/X86/set.ll + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/llc -debugger-tune=gdb -dwarf-version=4 -filetype=obj -o /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/llvm/test/DebugInfo/X86/Output/set.ll.tmp.o DISubprogram contains null entry in `elements` field !34 = !DICompositeType(tag: DW_TAG_class_type, name: "ADDR__HeapObject", scope: !5, file: !2, line: 22, size: 64, align: 64, elements: !7, identifier: "AJWxb1") warning: ignoring invalid debug info in RUN: at line 4: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/llvm-dwarfdump -debug-info /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/llvm/test/DebugInfo/X86/Output/set.ll.tmp.o | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/llvm/test/DebugInfo/X86/set.ll --check-prefix=CHECK + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/llvm-dwarfdump -debug-info /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/llvm/test/DebugInfo/X86/Output/set.ll.tmp.o + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/llvm/test/DebugInfo/X86/set.ll --check-prefix=CHECK /usr/local/google/home/thakis/src/llvm-project/llvm/test/DebugInfo/X86/set.ll:95:10: error: CHECK: expected string not found in input ; CHECK: DW_TAG_set_type ^ :1:1: note: scanning from here /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/llvm/test/DebugInfo/X86/Output/set.ll.tmp.o: file format elf64-x86-64 ^ :1:83: note: possible intended match here /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/llvm/test/DebugInfo/X86/Output/set.ll.tmp.o: file format elf64-x86-64 ^ Input file: Check file: /usr/local/google/home/thakis/src/llvm-project/llvm/test/DebugInfo/X86/set.ll -dump-input=help explains the following input dump. Input was: <<<<<< 1: /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/llvm/test/DebugInfo/X86/Output/set.ll.tmp.o: file format elf64-x86-64 check:95'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found check:95'1 ? possible intended match 2: check:95'0 ~ 3: .debug_info contents: check:95'0 ~~~~~~~~~~~~~~~~~~~~~~ >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: LLVM :: Transforms/LoopVectorize/dbg.value.ll (43682 of 57870) ******************** TEST 'LLVM :: Transforms/LoopVectorize/dbg.value.ll' FAILED ******************** Exit Code: 2 Command Output (stderr): -- RUN: at line 1: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt < /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LoopVectorize/dbg.value.ll -S -passes=loop-vectorize,dce,instcombine -force-vector-interleave=1 -force-vector-width=4 | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LoopVectorize/dbg.value.ll + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt -S -passes=loop-vectorize,dce,instcombine -force-vector-interleave=1 -force-vector-width=4 + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LoopVectorize/dbg.value.ll opt: ../../llvm/include/llvm/Support/Casting.h:692: auto llvm::cast_if_present(const Y &) [X = llvm::DINode, Y = llvm::MDOperand]: Assertion `isa(Val) && "cast_if_present() argument of incompatible type!"' failed. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt -S -passes=loop-vectorize,dce,instcombine -force-vector-interleave=1 -force-vector-width=4 #0 0x000055bb78827af8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt+0x48b5af8) #1 0x000055bb788257ae llvm::sys::RunSignalHandlers() (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt+0x48b37ae) #2 0x000055bb78828188 SignalHandler(int) Signals.cpp:0:0 #3 0x00007fe1abf74590 (/lib/x86_64-linux-gnu/libc.so.6+0x3f590) #4 0x00007fe1abfc33ac __pthread_kill_implementation ./nptl/pthread_kill.c:44:76 #5 0x00007fe1abf744f2 raise ./signal/../sysdeps/posix/raise.c:27:6 #6 0x00007fe1abf5d4ed abort ./stdlib/abort.c:81:7 #7 0x00007fe1abf5d415 _nl_load_domain ./intl/loadmsgcat.c:1177:9 #8 0x00007fe1abf6d012 (/lib/x86_64-linux-gnu/libc.so.6+0x38012) #9 0x000055bb78ab1c5b (anonymous namespace)::Verifier::visitDICompositeType(llvm::DICompositeType const&) Verifier.cpp:0:0 #10 0x000055bb78aadaad (anonymous namespace)::Verifier::visitMDNode(llvm::MDNode const&, (anonymous namespace)::Verifier::AreDebugLocsAllowed) Verifier.cpp:0:0 #11 0x000055bb78aadc4d (anonymous namespace)::Verifier::visitMDNode(llvm::MDNode const&, (anonymous namespace)::Verifier::AreDebugLocsAllowed) Verifier.cpp:0:0 #12 0x000055bb78aadc4d (anonymous namespace)::Verifier::visitMDNode(llvm::MDNode const&, (anonymous namespace)::Verifier::AreDebugLocsAllowed) Verifier.cpp:0:0 #13 0x000055bb78aadc4d (anonymous namespace)::Verifier::visitMDNode(llvm::MDNode const&, (anonymous namespace)::Verifier::AreDebugLocsAllowed) Verifier.cpp:0:0 #14 0x000055bb78aadc4d (anonymous namespace)::Verifier::visitMDNode(llvm::MDNode const&, (anonymous namespace)::Verifier::AreDebugLocsAllowed) Verifier.cpp:0:0 #15 0x000055bb78aadc4d (anonymous namespace)::Verifier::visitMDNode(llvm::MDNode const&, (anonymous namespace)::Verifier::AreDebugLocsAllowed) Verifier.cpp:0:0 #16 0x000055bb78aa4e77 (anonymous namespace)::Verifier::verify(llvm::Function const&) Verifier.cpp:0:0 #17 0x000055bb78aa5944 llvm::verifyModule(llvm::Module const&, llvm::raw_ostream*, bool*) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt+0x4b33944) #18 0x000055bb78e02abb llvm::UpgradeDebugInfo(llvm::Module&) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt+0x4e90abb) #19 0x000055bb78e2a0c2 llvm::LLParser::validateEndOfModule(bool) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt+0x4eb80c2) #20 0x000055bb78e28d7a llvm::LLParser::Run(bool, llvm::function_ref, std::allocator>> (llvm::StringRef, llvm::StringRef)>) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt+0x4eb6d7a) #21 0x000055bb78e2641d parseAssemblyInto(llvm::MemoryBufferRef, llvm::Module*, llvm::ModuleSummaryIndex*, llvm::SMDiagnostic&, llvm::SlotMapping*, bool, llvm::function_ref, std::allocator>> (llvm::StringRef, llvm::StringRef)>) Parser.cpp:0:0 #22 0x000055bb78e2657f llvm::parseAssembly(llvm::MemoryBufferRef, llvm::SMDiagnostic&, llvm::LLVMContext&, llvm::SlotMapping*, llvm::function_ref, std::allocator>> (llvm::StringRef, llvm::StringRef)>) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt+0x4eb457f) #23 0x000055bb78e24f6f llvm::parseIR(llvm::MemoryBufferRef, llvm::SMDiagnostic&, llvm::LLVMContext&, llvm::ParserCallbacks) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt+0x4eb2f6f) #24 0x000055bb78e256d2 llvm::parseIRFile(llvm::StringRef, llvm::SMDiagnostic&, llvm::LLVMContext&, llvm::ParserCallbacks) (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt+0x4eb36d2) #25 0x000055bb784613b3 optMain (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt+0x44ef3b3) #26 0x00007fe1abf5ec8a __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3 #27 0x00007fe1abf5ed45 call_init ./csu/../csu/libc-start.c:128:20 #28 0x00007fe1abf5ed45 __libc_start_main ./csu/../csu/libc-start.c:347:5 #29 0x000055bb784604b1 _start (/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt+0x44ee4b1) FileCheck error: '' is empty. FileCheck command line: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LoopVectorize/dbg.value.ll -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (2): LLVM :: DebugInfo/X86/set.ll LLVM :: Transforms/LoopVectorize/dbg.value.ll Testing Time: 149.48s Total Discovered Tests: 63746 Skipped : 16 (0.03%) Unsupported : 2028 (3.18%) Passed : 61532 (96.53%) Expectedly Failed: 168 (0.26%) Failed : 2 (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.