[LLVMbugs] [Bug 6510] New: PM doesn't terminate when processing passes with circular dependency + patch
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Mar 5 02:13:26 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6510
Summary: PM doesn't terminate when processing passes with
circular dependency + patch
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: philipp.legrum at daimler.com
CC: llvmbugs at cs.uiuc.edu
The LLVM Pass manager gets caught in an infinite recursion when dealing with
passes that have a circular dependency ultimately resulting in a stack
overflow.
I created a patch that tracks the recursive insertion of passes monitoring if
the manager inserts a pass that it is currently inserting in an outer
invocation of PMTopLevelManager::schedulePass.
The modification now aborts more gracefully printing out the cyclic dependency.
Patch needs review.
--
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