[LLVMbugs] [Bug 3367] New: assertion failure: Cannot find callsite to remove!

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jan 21 03:36:17 PST 2009


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

           Summary: assertion failure: Cannot find callsite to remove!
           Product: libraries
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Interprocedural Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jay.foad at antixlabs.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2422)
 --> (http://llvm.org/bugs/attachment.cgi?id=2422)
bitcode file

With the attached bitcode file I get:

$ opt -f -o /dev/null stripped.bc -inline -prune-eh
opt: /home/foad/svn/llvm-project/llvm/trunk/lib/Analysis/IPA/CallGraph.cpp:264:
void llvm::CallGraphNode::removeCallEdgeFor(llvm::CallSite): Assertion `i &&
"Cannot find callsite to remove!"' failed.
/home/foad/llvm/objdir-svn/Debug/bin/opt[0x86d2b66]
/home/foad/llvm/objdir-svn/Debug/bin/opt[0x86d2c96]
[0xb7fa5400]
/lib/i686/cmov/libc.so.6(abort+0x188)[0xb7d26018]
/lib/i686/cmov/libc.so.6(__assert_fail+0xee)[0xb7d1d5be]
/home/foad/llvm/objdir-svn/Debug/bin/opt(_ZN4llvm13CallGraphNode17removeCallEdgeForENS_8CallSiteE+0x41)[0x8561d41]
/home/foad/llvm/objdir-svn/Debug/bin/opt[0x83f8e31]
/home/foad/llvm/objdir-svn/Debug/bin/opt[0x83f9239]
/home/foad/llvm/objdir-svn/Debug/bin/opt[0x83f9506]
/home/foad/llvm/objdir-svn/Debug/bin/opt(_ZN105_GLOBAL__N__home_foad_svn_llvm_project_llvm_trunk_lib_Analysis_IPA_CallGraphSCCPass.cpp_00000000_EE43971E13CGPassManager11runOnModuleERN4llvm6ModuleE+0x161)[0x8564bb7]
/home/foad/llvm/objdir-svn/Debug/bin/opt(_ZN4llvm13MPPassManager11runOnModuleERNS_6ModuleE+0xcd)[0x865f461]
/home/foad/llvm/objdir-svn/Debug/bin/opt(_ZN4llvm15PassManagerImpl3runERNS_6ModuleE+0x74)[0x8660df6]
/home/foad/llvm/objdir-svn/Debug/bin/opt(_ZN4llvm11PassManager3runERNS_6ModuleE+0x1b)[0x8660e4d]
/home/foad/llvm/objdir-svn/Debug/bin/opt(main+0x11e3)[0x839ce81]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7d0f455]
/home/foad/llvm/objdir-svn/Debug/bin/opt(__gxx_personality_v0+0x355)[0x838d361]
Aborted

This happens with both the 2.4 release and a fairly recent head of svn build.
I'm using Linux/x86.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list