[LLVMbugs] [Bug 9550] New: Crash when calling addRequiredTransitive<LoopInfo> from a ModulePass.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Mar 25 07:58:36 PDT 2011
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: unassignedbugs at nondot.org
ReportedBy: ludw1g.m3i3r at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list