[LLVMdev] Trouble using llvm tools

Chris Lattner sabre at nondot.org
Tue Nov 30 08:58:21 PST 2004


On Tue, 30 Nov 2004, Tanu Sharma wrote:

> I have trouble using the llvm tools.Some of the errors are :
>
> $ llvm-dis prog.bc
> $ llvm-dis: Invalid Top Level Block Length! Type:1, Size:456 (Vers=0, Pos=12)

Can you explain how you generated this bytecode file?  It looks corrupted
or something.  Also, can you send the actual bytecode file itself?

Thanks!

-Chris


> -------------------------------------
>
> $ extract -o=outprog prog.bc
> $ extract: bytecode didn't read correctly.
>
> Where am I doing wrong ?I wish to get human readable form of my bytecode file.The tool giving similar error.
>
> Thanks
>
> Tanu
>
>
> ---------------------------------
> Do you Yahoo!?
>  Read only the mail you want - Yahoo! Mail SpamGuard.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list