[LLVMbugs] [Bug 11287] New: Assertion when using analysis results from a CallGraphSCCPass in a ModulePass

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 1 09:01:56 PDT 2011


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

             Bug #: 11287
           Summary: Assertion when using analysis results from a
                    CallGraphSCCPass in a ModulePass
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Interprocedural Analyses
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jobnoorman at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7568
  --> http://llvm.org/bugs/attachment.cgi?id=7568
Example that produces the assertion

When trying to add a CallGraphSCCPass as a required pass for a ModulePass, the
following assertion is raised:

opt: /.../llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp:535: virtual void
llvm::CallGraphSCCPass::assignPassManager(llvm::PMStack&,
llvm::PassManagerType): Assertion `!PMS.empty() && "Unable to handle Call Graph
Pass"' failed.

I've attached an example file.

Since I'm not completely sure if this is a bug, I tried asking on the mailing
list (http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-October/043987.html)
first but didn't get any responses.

-- 
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