[LLVMbugs] [Bug 1715] getAnalysis<someimmutablepass> doesn' t work from doInitialization(Module&)

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Oct 1 09:21:44 PDT 2007


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


Devang Patel <dpatel at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dpatel at apple.com
             Status|NEW                         |RESOLVED
         Resolution|                            |LATER




--- Comment #1 from Devang Patel <dpatel at apple.com>  2007-10-01 11:21:44 ---
By design, doInitialization() is performed before initializing analysis info
for each pass. During doInitializatino(), getAnalysis is not available. 

getAnalysisToUpdate works because it does not go through pass specific analysis
info list.


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