OOps.. I overlooked :-)
Thanks
Tanu
Misha Brukman <brukman at uiuc.edu> wrote:
On Wed, Mar 09, 2005 at 12:18:33PM -0800, Tanu Sharma
wrote:> This is exactly what i m trying :
>
> opt -load /home/tsharma/ankur/llvm/Debug/lib/LLVMHello.so -hello /dev/null
Well, you're not saving the output of your pass, it's going to
/dev/null. Try:
opt -load ... < input.bc > output.bc
And then look at how output differs from input.
--
Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20050309/1566951f/attachment.html>