Hi,<br><br>It was all working fine and suddenly the segfault with a huge backtrace of unreadable characters came in. I am just surprised.<br>Not even the Hello World pass is working. Please let me know if you have any idea why this is happening.<br>
<br>-Hersh<br><br><div class="gmail_quote">On Sun, Jan 31, 2010 at 6:44 AM, Rajika Kumarasiri <span dir="ltr"><<a href="mailto:rajika@wso2.com">rajika@wso2.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;">
May be you need to debug your code and see.<br><font color="#888888"><br>Rajika<br><br></font><div class="gmail_quote"><div><div></div><div class="h5">On Sun, Jan 31, 2010 at 9:48 AM, Hersh.S. Iyer <span dir="ltr"><<a href="mailto:coolhersh@gmail.com" target="_blank">coolhersh@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">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></div></div><div class="im">_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">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></div></blockquote></div><br>
</blockquote></div><br><br clear="all"><br>-- <br>HSIyer<br>