May be you need to debug your code and see.<br><br>Rajika<br><br><div class="gmail_quote">On Sun, Jan 31, 2010 at 9:48 AM, Hersh.S. Iyer <span dir="ltr"><<a href="mailto:coolhersh@gmail.com">coolhersh@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br><br>I am learning to write passes in LLVM and currently using LLVM 2.6. I followed the steps mentioned to write the helloworld pass and when i run it using opt, I get a Seg Fault. Not able to figure out why this is happening. It would be great if someone can point out where I am going wrong.<br clear="all">

<br>Thanks.<br><font color="#888888"><br>Hersh.<br>
</font><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" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br>