<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">John.Thompson.JTSoftware@gmail.com</a><br><br></div>