Segmentation Fault

Hello,

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.

Thanks.

Hersh.

May be you need to debug your code and see.

Rajika

Hi,

It was all working fine and suddenly the segfault with a huge backtrace of unreadable characters came in. I am just surprised.
Not even the Hello World pass is working. Please let me know if you have any idea why this is happening.

-Hersh