[LLVMbugs] [Bug 10684] New: MPPassManager::addLowerLevelRequiredPass may crash

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 17 04:04:00 PDT 2011


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

           Summary: MPPassManager::addLowerLevelRequiredPass may crash
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: gordon.haak at googlemail.com
                CC: llvmbugs at cs.uiuc.edu


the call 'FPP->add' in line 1635 (revision 137072 of
lib/VMCore/PassManager.cpp) may destroy the 'RequiredPass' if such a Pass is
already scheduled. This results in a dangling pointer of 'RequiredPass' which
is added to the LU container in line 1639. Finally this leads to a core dump.

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