Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running -inline -prune-eh on testcase crashes with assert #1365

Closed
llvmbot opened this issue Nov 9, 2006 · 1 comment
Closed

Running -inline -prune-eh on testcase crashes with assert #1365

llvmbot opened this issue Nov 9, 2006 · 1 comment
Labels
bugzilla Issues migrated from bugzilla duplicate Resolved as duplicate ipa Interprocedural analysis

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Nov 9, 2006

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)

@tlattner
Copy link
Contributor

tlattner commented Nov 9, 2006

Please search bugzilla before filing a bug.

*** This bug has been marked as a duplicate of 992 ***

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla duplicate Resolved as duplicate ipa Interprocedural analysis
Projects
None yet
Development

No branches or pull requests

2 participants