https://llvm.org/bugs/show_bug.cgi?id=27101
Bug ID: 27101 Summary: llc crashes while bootstraping LTO (Debug) Product: tools Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: llc Assignee: unassignedb...@nondot.org Reporter: dav...@freebsd.org CC: llvm-bugs@lists.llvm.org Classification: Unclassified llc: ../lib/CodeGen/AsmPrinter/DIE.cpp:122: const llvm::DIE* llvm::DIE::getUnit() const: Assertion `Cu && "We should not have orphaned DIEs."' failed. $ ./llc bugpoint-reduced-function-2.bc #0 0x0000000000d89c85 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/home/davide/work/llvm/build-release/bin/llc+0xd89c85) #1 0x0000000000d87a06 llvm::sys::RunSignalHandlers() (/home/davide/work/llvm/build-release/bin/llc+0xd87a06) #2 0x0000000000d87bf3 SignalHandler(int) (/home/davide/work/llvm/build-release/bin/llc+0xd87bf3) #3 0x00007f1b50c3e9f0 __restore_rt (/lib64/libpthread.so.0+0x109f0) #4 0x000000000078a580 llvm::DIEEntry::EmitValue(llvm::AsmPrinter const*, llvm::dwarf::Form) const (/home/davide/work/llvm/build-release/bin/llc+0x78a580) #5 0x0000000000786efc llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const (/home/davide/work/llvm/build-release/bin/llc+0x786efc) #6 0x0000000000786f3b llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const (/home/davide/work/llvm/build-release/bin/llc+0x786f3b) #7 0x0000000000786f3b llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const (/home/davide/work/llvm/build-release/bin/llc+0x786f3b) #8 0x0000000000786f3b llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const (/home/davide/work/llvm/build-release/bin/llc+0x786f3b) #9 0x0000000000786f3b llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const (/home/davide/work/llvm/build-release/bin/llc+0x786f3b) #10 0x000000000079d2fa llvm::DwarfFile::emitUnits(bool) (/home/davide/work/llvm/build-release/bin/llc+0x79d2fa) #11 0x0000000000798a3d llvm::DwarfDebug::endModule() (/home/davide/work/llvm/build-release/bin/llc+0x798a3d) #12 0x0000000000785d69 llvm::AsmPrinter::doFinalization(llvm::Module&) (/home/davide/work/llvm/build-release/bin/llc+0x785d69) #13 0x0000000000aabd09 llvm::FPPassManager::doFinalization(llvm::Module&) [clone .localalias.408] (/home/davide/work/llvm/build-release/bin/llc+0xaabd09) #14 0x0000000000ab76e5 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/davide/work/llvm/build-release/bin/llc+0xab76e5) #15 0x0000000000540aed compileModule(char**, llvm::LLVMContext&) (/home/davide/work/llvm/build-release/bin/llc+0x540aed) #16 0x0000000000523390 main (/home/davide/work/llvm/build-release/bin/llc+0x523390) #17 0x00007f1b4fff3580 __libc_start_main (/lib64/libc.so.6+0x20580) #18 0x0000000000538db9 _start (/home/davide/work/llvm/build-release/bin/llc+0x538db9) Stack dump: 0. Program arguments: ./llc bugpoint-reduced-function-2.bc Segmentation fault (core dumped) Attaching a repro. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs