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