<DIV>This is exactly what i m trying :</DIV>
<DIV> </DIV>
<DIV>opt -load /home/tsharma/ankur/llvm/Debug/lib/LLVMHello.so -hello <helloprog.bc> /dev/null</DIV>
<DIV> </DIV>
<DIV>Tanu<BR><BR><BR><B><I>Chris Lattner <sabre@nondot.org></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Wed, 9 Mar 2005, Tanu Sharma wrote:<BR><BR>> I wrote a pass which randomizes basic blocks and insert new block.But <BR>> when i run another pass over it which simply lists all basic blocks I <BR>> don't get to see the changes.The bytecode file is not changed.Why is <BR>> that ?<BR><BR>Maybe your random number generator sucks? :-)<BR><BR>Can you tell me exactly what options your using to run your pass? I <BR>assume you're running it with 'opt' like this?<BR><BR>opt in.bc -randomize | llvm-dis<BR><BR>?<BR><BR>-Chris<BR><BR>-- <BR>http://nondot.org/sabre/<BR>http://llvm.cs.uiuc.edu/<BR><BR>_______________________________________________<BR>LLVM Developers mailing list<BR>LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu<BR>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev<BR></BLOCKQUOTE><p>
                <hr size=1>Celebrate Yahoo!'s 10th Birthday! <br> 
<a href="http://birthday.yahoo.com/netrospective/">Yahoo! Netrospective: 100 Moments of the Web</a>