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

           Summary: Crash when calling addRequiredTransitive<LoopInfo>
                    from a ModulePass.
           Product: libraries
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Core LLVM classes
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


When a ModulePass has addRequiredTransitive<LoopInfo>(), a segfault occurs.

The problem is in MPPassManager::addLowerLevelRequiredPass().
The call to FPP->add(RequiredPass) may delete the RequiredPass object (see
PMTopLevelManager::schedulePass).
Five lines down, the reference to the now deleted object is passed to
PMTopLevelManager::setLastUser().

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to