[LLVMbugs] [Bug 993] NEW: Running -inline -prune-eh on testcase crashes with assert

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Nov 9 06:29:56 PST 2006


http://llvm.org/bugs/show_bug.cgi?id=993

           Summary: Running -inline -prune-eh on testcase crashes with
                    assert
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Interprocedural Analyses
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: criswell at uiuc.edu


The error is this:

opt: CallGraph.cpp:277: void
llvm::CallGraphNode::removeCallEdgeTo(llvm::CallGraphNode*): Assertion `i &&
"Cannot find callee to remove!"' failed.
/localhome/criswell/latestllvm/Debug/bin/opt((anonymous
namespace)::PrintStackTrace()+0x1a)[0x870fa1a]
/localhome/criswell/latestllvm/Debug/bin/opt((anonymous
namespace)::SignalHandler(int)+0x102)[0x870fcc2]
/lib/tls/libc.so.6[0x138a58]
/lib/tls/libc.so.6(abort+0x1d2)[0x13a342]
/lib/tls/libc.so.6(__assert_fail+0x108)[0x132338]
/localhome/criswell/latestllvm/Debug/bin/opt(llvm::CallGraphNode::removeCallEdgeTo(llvm::CallGraphNode*)+0x44)[0x85c8b7a]
/localhome/criswell/latestllvm/Debug/bin/opt((anonymous
namespace)::PruneEH::DeleteBasicBlock(llvm::BasicBlock*)+0x17b)[0x84d83b5]
/localhome/criswell/latestllvm/Debug/bin/opt((anonymous
namespace)::PruneEH::SimplifyFunction(llvm::Function*)+0x2c7)[0x84d8057]
/localhome/criswell/latestllvm/Debug/bin/opt((anonymous
namespace)::PruneEH::runOnSCC(std::vector<llvm::CallGraphNode*,
std::allocator<llvm::CallGraphNode*> > const&)+0x72)[0x84d798c]
/localhome/criswell/latestllvm/Debug/bin/opt(llvm::CallGraphSCCPass::runOnModule(llvm::Module&)+0x9c)[0x85cb0aa]
/localhome/criswell/latestllvm/Debug/bin/opt(llvm::ModulePassManager::runPass(llvm::ModulePass*,
llvm::Module*)+0x1f)[0x86af8b9]
/localhome/criswell/latestllvm/Debug/bin/opt(llvm::PassManagerT<llvm::MTraits>::runPasses(llvm::Module*,
std::map<llvm::Pass*, std::vector<llvm::Pass*, std::allocator<llvm::Pass*> >,
std::less<llvm::Pass*>, std::allocator<std::pair<llvm::Pass* const,
std::vector<llvm::Pass*, std::allocator<llvm::Pass*> > > > >&)+0x136)[0x86ae738]
/localhome/criswell/latestllvm/Debug/bin/opt(llvm::PassManagerT<llvm::MTraits>::runOnUnit(llvm::Module*)+0x177)[0x86ae5ed]
/localhome/criswell/latestllvm/Debug/bin/opt(llvm::ModulePassManager::runOnModule(llvm::Module&)+0x25)[0x869a345]
/localhome/criswell/latestllvm/Debug/bin/opt(llvm::PassManager::run(llvm::Module&)+0x23)[0x869a64b]
/localhome/criswell/latestllvm/Debug/bin/opt(main+0xa65)[0x841ef61]
/lib/tls/libc.so.6(__libc_start_main+0xf0)[0x126770]
/localhome/criswell/latestllvm/Debug/bin/opt(std::__throw_logic_error(char
const*)+0x59)[0x8412251]
Abort (core dumped)



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list