i.e. the name being used in a string table or lookup somewhere.  What's a better fix?<br><br>
<div class="gmail_quote">On Wed, Jun 10, 2009 at 12:03 PM, John Thompson <span dir="ltr"><<a href="mailto:john.thompson.jtsoftware@gmail.com">john.thompson.jtsoftware@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>The file include/llvm/Config/alloca.h has a "#define alloca _alloca" which substitutes the "alloca" in Builtins.def, resulting in the Builtin::BIalloca reference in CGBuiltin.cpp being undefined.</div>

<div> </div>
<div>Changing "LIBBUILTIN(alloca, "v*z",         "f",     "stdlib.h")" to "LIBBUILTIN(_alloca, "v*z",         "f",     "stdlib.h")",</div>
<div>and the one reference to "Builtin::BIalloca" to "Builtin::BI_alloca" in CGBuiltin.cpp seems an easy fix, but I don't know if there are other issues with this.<br clear="all"><br>-- <br>John Thompson<br>
<a href="mailto:John.Thompson.JTSoftware@gmail.com" target="_blank">John.Thompson.JTSoftware@gmail.com</a><br><br></div></blockquote></div><br><br clear="all">
<div></div><br>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br><br>