<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
I just found "entry". Its the name I gave a basic block at the start of the function (name was hard coded in the compiler, not the source).  The issue here is probably that the block doesn't have a terminating instruction.  However, that fact used to be caught well by the validator. Furthermore, the output from the byte code reader is a little confusing given the source of the problem.  <BR>
<BR>
Has something broken recently?  This has been happening with the 1.2 release. I cvs updated today and rebuild LLVM but it still happens. <BR>
<BR>
Reid.<BR>
<BR>
<BR>
On Sun, 2004-03-28 at 16:23, Reid Spencer wrote:
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#301fe4"><I>The XPL compiler produced the attached OneOfEach.bc file without error or warning from either LLVM or XPLC. However when I llvm-dis the file, I get:<BR>
    <BR>
    llvm-dis: Failed value look-up for name 'entry'<BR>
    <BR>
    The Bytecode Reader prints this out when it can't find the associated value for the name.  Obviously I botched something in the XPL compiler but I would have thought the verified would catch my mistake before writing the byte code. <BR>
    <BR>
    The patch to the Reader.cpp file that I sent you earlier added the "for name 'entry'" part to the output. Unfortunately, this doesn't help because my source input doesn't have a symbol named "entry". <BR>
    <BR>
    Any hints?<BR>
    <BR>
    On Sun, 2004-03-28 at 15:58, Chris Lattner wrote: 
    <BLOCKQUOTE TYPE=CITE>
<PRE>On Sun, 28 Mar 2004, Reid Spencer wrote:

> Would you like me to send the patches to sabre@nondot.org or have you
> seen them already?

I haven't seen them.  Feel free to send them my way :)

-Chris</I></FONT></PRE>
    </BLOCKQUOTE>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
</TR>
<TR>
</TR>
<TR>
<TD>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<ADDRESS><FONT SIZE="4"><I>_______________________<BR>
<BR>
Reid Spencer<BR>
<BR>
President & CTO<BR>
<BR>
eXtensible Systems, Inc.<BR>
<BR>
rspencer@x10sys.com</I></FONT></ADDRESS>
</TD>
</TR>
</TABLE>
</PRE>
</BLOCKQUOTE>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<BR>
<ADDRESS><FONT SIZE="4"><I>_______________________<BR>
Reid Spencer<BR>
President & CTO<BR>
eXtensible Systems, Inc.<BR>
rspencer@x10sys.com</I></FONT></ADDRESS>
</TD>
</TR>
</TABLE>

</PRE>
</BODY>
</HTML>