Displaying 3 results from an estimated 3 matches for "simplifyfunction".
2019 Jun 04
2
is this a bug in PruneEH?
...rce:
extern unsigned int donut;
void f1();
void f2();
void f1()
{
unsigned int *magic = &donut;
if (*magic != 286529877) {
f2();
}
}
void f2() {
/* Loop here forever if application is built with wrong version of ROM image */
while(1) {
;
}
}
The -O2 level PruneEH pass uses SimplifyFunction() which contains this code:
for (BasicBlock::iterator I = BB->begin(), E = BB->end(); I != E; )
if (CallInst *CI = dyn_cast<CallInst>(I++))
if (CI->doesNotReturn() && !CI->isMustTailCall() &&
!isa<UnreachableInst>(I)) {...
2006 Sep 18
2
[LLVMdev] llvm-g++: Internal error
...]
/lib/libc.so.6(abort+0x103)[0x9226e3]
/lib/libc.so.6(__assert_fail+0xfd)[0x91aabd]
gccld(llvm::CallGraphNode::removeCallEdgeTo(llvm::CallGraphNode*)+0x41)[0x83c1ac
d]
gccld((anonymous
namespace)::PruneEH::DeleteBasicBlock(llvm::BasicBlock*)+0x175) [0x838c82f]
gccld((anonymous
namespace)::PruneEH::SimplifyFunction(llvm::Function*)+0x2cf)[0 x838cc55]
gccld((anonymous
namespace)::PruneEH::runOnSCC(std::vector<llvm::CallGraphNode*,
std::allocator<llvm::CallGraphNode*> > const&)+0x6e)[0x838cefe]
gccld(llvm::CallGraphSCCPass::runOnModule(llvm::Module&)+0x84)[0x83c430a]
gccld(llvm::ModulePassMa...
2006 Sep 14
1
[LLVMdev] use LLVM to convert C++ code to C code
...br>
/lib/tls/libc.so.6(__assert_fail+0x101)[0xbe0f41]<br>
gccld(llvm::CallGraphNode::removeCallEdgeTo(llvm::CallGraphNode*)+0x3d)[0x837697f]<br>
gccld((anonymous
namespace)::PruneEH::DeleteBasicBlock(llvm::BasicBlock*)+0x16f)[0x8348265]<br>
gccld((anonymous
namespace)::PruneEH::SimplifyFunction(llvm::Function*)+0x2d4)[0x8347eee]<br>
gccld((anonymous
namespace)::PruneEH::runOnSCC(std::vector<llvm::CallGraphNode*,
std::allocator<llvm::CallGraphNode*> >
const&)+0x76)[0x8347804]<br>
gccld(llvm::CallGraphSCCPass::runOnModule(llvm::Module&)+0x99)[0x8378e29]<br...