<DIV>Thanks for replying, </DIV>
<DIV> </DIV>
<DIV>Yes, I think too that the bytecode file is corrupted.</DIV>
<DIV>This is the file : </DIV>
<DIV>-------------------------------------------------------------------------------------------------------------------------</DIV>
<DIV><A href="mailto:llvm^A^@^@^@Ã^A^@^@0«««F^E^@^@^O^P^N^O^C^X^P^P^O^C^U^P^A^P^T^P^C^M^G^B^S^@^P^^@^A^G^P^X^M^G^@^N^G^[^@^M^@^@^P^Z««<85>^B^@^@¯^C^Aï^C^Aï^C^B®^D^@^@^R^U^W«#^M^@^@^C^@^NThis">llvm^A^@^@^@Ã^A^@^@0«««F^E^@^@^O^P^N^O^C^X^P^P^O^C^U^P^A^P^T^P^C^M^G^B^S^@^P^^@^A^G^P^X^M^G^@^N^G^[^@^M^@^@^P^Z««<85>^B^@^@¯^C^Aï^C^Aï^C^B®^D^@^@^R^U^W«#^M^@^@^C^@^NThis</A> is main function<BR><A href="mailto:^@^PCalling">^@^PCalling</A> sub <A href="mailto:function^@^PThis">function^@^PThis</A> is sub <A href='mailto:function^@^A^A^@^A^A^G^@^B^C^S^C^Y^A^M^@^G^@^G^C^Y^A^O^@^G^@^G^C^Y^B^O^@^G^@^G«««"^@^@^@^@«««"^@^@^@^@«««^B^Q^@^@^@««^G^F^@^@]^Q^P^@^K<8c>^P^Hb^Q^A^A'>function^@^A^A^@^A^A^G^@^B^C^S^C^Y^A^M^@^G^@^G^C^Y^A^O^@^G^@^G^C^Y^B^O^@^G^@^G«««"^@^@^@^@«««"^@^@^@^@«««^B^Q^@^@^@««^G^F^@^@]^Q^P^@^K<8c>^P^Hb^Q^A^A</A>  ^L <A
 href="mailto:^@p^R^B^A^A«««p^R^B^A^B«««p^R«r^U^A^A^E^G^@^@ä^H^@^@^@^A^A^B^Gtmp.1.i^C^G^B^Etmp.0^D^Gtmp.0.i^C^Etmp.2^C^L^L__main.entry^A">^@p^R^B^A^A«««p^R^B^A^B«««p^R«r^U^A^A^E^G^@^@ä^H^@^@^@^A^A^B^Gtmp.1.i^C^G^B^Etmp.0^D^Gtmp.0.i^C^Etmp.2^C^L^L__main.entry^A</A> <A href="mailto:endif.0.i^@^Eentry«$^M^@^@^B^Y^Nstruct..TorRec^Y^Mstruct.TorRecB^O^A^F.str_2^B^F.str_3^A^R^A^Fprintf^A^U^A^Dexit^A^W^A^Dmain^A^M^A^F.str_1^A^Q^A^OInitialized.0__««Â">endif.0.i^@^Eentry«$^M^@^@^B^Y^Nstruct..TorRec^Y^Mstruct.TorRecB^O^A^F.str_2^B^F.str_3^A^R^A^Fprintf^A^U^A^Dexit^A^W^A^Dmain^A^M^A^F.str_1^A^Q^A^OInitialized.0__««Â</A>«</DIV>
<DIV> </DIV>
<DIV>-------------------------------------------------------------------------------</DIV>
<DIV> </DIV>
<DIV>I generated it like this:</DIV>
<DIV> $llvmgcc prog.c -o prog</DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV>Tanu<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 Tue, 30 Nov 2004, Tanu Sharma wrote:<BR><BR>> I have trouble using the llvm tools.Some of the errors are :<BR>><BR>> $ llvm-dis prog.bc<BR>> $ llvm-dis: Invalid Top Level Block Length! Type:1, Size:456 (Vers=0, Pos=12)<BR><BR>Can you explain how you generated this bytecode file? It looks corrupted<BR>or something. Also, can you send the actual bytecode file itself?<BR><BR>Thanks!<BR><BR>-Chris<BR><BR><BR>> -------------------------------------<BR>><BR>> $ extract -o=outprog prog.bc<BR>> $ extract: bytecode didn't read correctly.<BR>><BR>> Where am I doing wrong ?I wish to get human readable form of my bytecode file.The tool giving similar error.<BR>><BR>> Thanks<BR>><BR>> Tanu<BR>><BR>><BR>> ---------------------------------<BR>> Do you Yahoo!?<BR>> Read only the mail you want - Yahoo! Mail SpamGuard.<BR><BR>-Chris<B!
 R><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>Do you Yahoo!?<br> 
All your favorites on one personal page – <a href="http://my.yahoo.com">Try My Yahoo!</a>