<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18828">
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT color=#000080 size=2>I have found the source of the error, I forgot 
to add the -emit-llvm option when I generated Example.bc .</FONT></DIV>
<DIV><FONT color=#000080>Thank you very much!</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>Best Regards!</FONT></DIV>
<DIV><FONT color=#000080>Qiuping</FONT></DIV>
<DIV><FONT color=#000080 size=2></FONT> </DIV>
<DIV><FONT color=#000080 size=2></FONT> </DIV>
<DIV><FONT color=#c0c0c0 size=2>2010-04-07 </FONT></DIV><FONT color=#000080 
size=2>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT color=#c0c0c0 size=2><SPAN>yiqiuping1986</SPAN> </FONT></DIV>
<HR color=#b5c4df SIZE=1>

<DIV><FONT size=2><STRONG>发件人:</STRONG> Zheng Wang </FONT></DIV>
<DIV><FONT size=2><STRONG>发送时间:</STRONG> 2010-04-07  21:55:56 </FONT></DIV>
<DIV><FONT size=2><STRONG>收件人:</STRONG> yiqiuping1986 </FONT></DIV>
<DIV><FONT size=2><STRONG>抄送:</STRONG> llvmdev </FONT></DIV>
<DIV><FONT size=2><STRONG>主题:</STRONG> Re: [LLVMdev] An error about bitcode 
</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>
<DIV>How did you generate Example.bc?</DIV>
<DIV></DIV>
<DIV>It seems Example.bc is not a proper LLVM bytecode.</DIV>
<DIV></DIV>
<DIV>On 7 April 2010 14:32, yiqiuping1986 <yiqiuping1986@126.com> wrote:</DIV>
<DIV>> Hi,</DIV>
<DIV>></DIV>
<DIV>> When I execute the command bellow:</DIV>
<DIV>> $llvm-dis Example.bc -o Example.ll</DIV>
<DIV>> I get the following wrong message:</DIV>
<DIV>> llvm-dis:Bitcode stream should be a multiple of 4 bytes in length</DIV>
<DIV>></DIV>
<DIV>> Who can help me?</DIV>
<DIV>></DIV>
<DIV>> 2010-04-07</DIV>
<DIV>> ________________________________</DIV>
<DIV>> yiqiuping1986</DIV>
<DIV>> _______________________________________________</DIV>
<DIV>> LLVM Developers mailing list</DIV>
<DIV>> LLVMdev@cs.uiuc.edu         http://llvm.cs.uiuc.edu</DIV>
<DIV>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>-- </DIV>
<DIV>Best regards,</DIV>
<DIV></DIV>
<DIV>WANG Zheng</DIV></FONT></DIV></BODY></HTML>