<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><br></div><br>
<br><div><div>On Oct 30, 2012, at 3:15 PM, Krzysztof Parzyszek <<a href="mailto:kparzysz@codeaurora.org">kparzysz@codeaurora.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On 10/30/2012 4:10 PM, Ashwin kumar wrote:<br><blockquote type="cite"><br>Assertion failed: (PI && "Expected required passes to be initialized"),<br>function schedulePass, file PassManager.cpp, line 597.<br><br><br>I register the passes using RegisterPass function call. What else should<br>I be doing?</blockquote></blockquote><blockquote type="cite">Initializing them.  Are you using INITIALIZE_PASS_DEPENDENCY, INITIALIZE_AG_DEPENDENCY, etc?<br><br></blockquote><div><br></div><div>No. I am not sure how they work . I am trying to use the INITIALIZE_PASS macro. I get the following error </div><div><br></div><div><br></div><div><b>error: definition or redeclaration of 'initializeMyPassNamePass' not in a namespace enclosing 'llvm'  </b></div><div><b><br></b></div><div><br></div><div><br></div><div>should i add the passname to a header file ? if so where? </div><div><br></div><div><br></div><div>Thank you!!</div><div><br></div><br><blockquote type="cite">-Krzysztof<br><br>-- <br>Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation<br>_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote><br></div><div><br></div><div>regards,</div><div>Ashwin</div><div><br></div><div><br></div><br></body></html>