Description
Bugzilla Link | 993 |
Resolution | DUPLICATE |
Resolved on | Feb 22, 2010 12:46 |
Version | trunk |
OS | Linux |
Attachments | Reduced testcase from simple C++ program |
Reporter | LLVM Bugzilla Contributor |
Extended Description
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::allocatorllvm::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::PassManagerTllvm::MTraits::runPasses(llvm::Module*,
std::map<llvm::Pass*, std::vector<llvm::Pass*, std::allocatorllvm::Pass* >,
std::lessllvm::Pass*, std::allocator<std::pair<llvm::Pass* const,
std::vector<llvm::Pass*, std::allocatorllvm::Pass* > > > >&)+0x136)[0x86ae738]
/localhome/criswell/latestllvm/Debug/bin/opt(llvm::PassManagerTllvm::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)