https://llvm.org/bugs/show_bug.cgi?id=26942
Reid Kleckner <r...@google.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |h...@chromium.org, | |r...@google.com Resolution|FIXED |--- --- Comment #2 from Reid Kleckner <r...@google.com> --- The fix caused a different crash while building Chromium for iOS: https://build.chromium.org/p/chromium.fyi/builders/ClangToTiOS/builds/6190/steps/compile/logs/stdio Assertion failed: (!isa<DILexicalBlockFile>(Scope) && "Don't expect Lexical Block File!"), function addLocalScopeDieToLexicalScope, file /b/build/slave/ClangToTiOS/build/src/third_party/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp, line 888. 0 clang-3.9 0x000000010b7bed1b llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 43 1 clang-3.9 0x000000010b7bdf36 llvm::sys::RunSignalHandlers() + 70 2 clang-3.9 0x000000010b7bf53f abort + 767 3 libsystem_platform.dylib 0x00007fff9417ff1a _sigtramp + 26 4 clang-3.9 0x000000010daca298 clang::Stmt::StatisticsEnabled + 220476 5 clang-3.9 0x000000010b7bf256 abort + 22 6 clang-3.9 0x000000010b7bf231 __assert_rtn + 81 7 clang-3.9 0x000000010bd277ab llvm::DwarfCompileUnit::addLocalScopeDieToLexicalScope(llvm::LexicalScope*, llvm::DIE*) + 379 8 clang-3.9 0x000000010bd26c66 llvm::DwarfCompileUnit::constructScopeDIE(llvm::LexicalScope*, llvm::SmallVectorImpl<llvm::DIE*>&) + 470 9 clang-3.9 0x000000010bd274fe llvm::DwarfCompileUnit::createScopeChildrenDIE(llvm::LexicalScope*, llvm::SmallVectorImpl<llvm::DIE*>&, bool*) + 686 10 clang-3.9 0x000000010bd26b3b llvm::DwarfCompileUnit::constructScopeDIE(llvm::LexicalScope*, llvm::SmallVectorImpl<llvm::DIE*>&) + 171 11 clang-3.9 0x000000010bd274fe llvm::DwarfCompileUnit::createScopeChildrenDIE(llvm::LexicalScope*, llvm::SmallVectorImpl<llvm::DIE*>&, bool*) + 686 12 clang-3.9 0x000000010bd2884f llvm::DwarfCompileUnit::constructSubprogramScopeDIE(llvm::LexicalScope*) + 287 13 clang-3.9 0x000000010bd344c6 llvm::DwarfDebug::endFunction(llvm::MachineFunction const*) + 1174 14 clang-3.9 0x000000010bd090a4 llvm::AsmPrinter::EmitFunctionBody() + 5764 15 clang-3.9 0x000000010a76ac5c std::__1::__tree<std::__1::__value_type<llvm::MachineInstr*, unsigned int>, std::__1::__map_value_compare<llvm::MachineInstr*, std::__1::__value_type<llvm::MachineInstr*, unsigned int>, std::__1::less<llvm::MachineInstr*>, true>, std::__1::allocator<std::__1::__value_type<llvm::MachineInstr*, unsigned int> > >::destroy(std::__1::__tree_node<std::__1::__value_type<llvm::MachineInstr*, unsigned int>, void*>*) + 2524 16 clang-3.9 0x000000010b19f72c llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 140 17 clang-3.9 0x000000010b398978 llvm::FPPassManager::runOnFunction(llvm::Function&) + 328 18 clang-3.9 0x000000010b398bcb llvm::FPPassManager::runOnModule(llvm::Module&) + 43 19 clang-3.9 0x000000010b399116 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 998 20 clang-3.9 0x000000010b935f51 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*) + 9601 21 clang-3.9 0x000000010bad16ab clang::EmitObjAction::EmitObjAction(llvm::LLVMContext*) + 1547 22 clang-3.9 0x000000010c20bec5 clang::ParseAST(clang::Sema&, bool, bool) + 581 23 clang-3.9 0x000000010bcac80b clang::FrontendAction::Execute() + 75 24 clang-3.9 0x000000010bc71bc1 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1073 25 clang-3.9 0x000000010bcf0149 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 4713 26 clang-3.9 0x000000010a5197d6 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1366 27 clang-3.9 0x000000010a518140 main + 11504 We'll work on getting pre-processed source code, but in the meantime I would like to revert to green. -- 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