[LLVMdev] An error about bitcode
yiqiuping1986
yiqiuping1986 at 126.com
Wed Apr 7 07:08:17 PDT 2010
I have found the source of the error, I forgot to add the -emit-llvm option when I generated Example.bc .
Thank you very much!
Best Regards!
Qiuping
2010-04-07
yiqiuping1986
发件人: Zheng Wang
发送时间: 2010-04-07 21:55:56
收件人: yiqiuping1986
抄送: llvmdev
主题: Re: [LLVMdev] An error about bitcode
How did you generate Example.bc?
It seems Example.bc is not a proper LLVM bytecode.
On 7 April 2010 14:32, yiqiuping1986 <yiqiuping1986 at 126.com> wrote:
> Hi,
>
> When I execute the command bellow:
> $llvm-dis Example.bc -o Example.ll
> I get the following wrong message:
> llvm-dis:Bitcode stream should be a multiple of 4 bytes in length
>
> Who can help me?
>
> 2010-04-07
> ________________________________
> yiqiuping1986
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
--
Best regards,
WANG Zheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100407/3f5fd25d/attachment.html>
More information about the llvm-dev
mailing list