<div dir="ltr">Dears,<div><br></div><div>I'm trying to call the function that defined in the host application from IR code, but LLVM is saying that there is no such function...</div><div><br></div><div>I've seen the tutorial of Kaleidoscope, and defined the function as </div>
<div>extern "C" {</div><div>void test1(void) {</div><div>  cout << "test function in the host application \n" ;</div><div>}</div><div>}</div><div><br></div><div>...in the host application. </div>
<div><br></div><div>Would you please let me give any idea or comment for this topic...?</div><div><br></div><div>thanks, regards...</div></div>