<div dir="ltr">I forgot add the error I'm getting:<div><br></div><div>LLVM ERROR: Tried to execute an unknown external function: MyFunction<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 8:52 PM, Hayden Livingston <span dir="ltr"><<a href="mailto:halivingston@gmail.com" target="_blank">halivingston@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I'm having a problem of being unable to call into an arbitrary function that is loaded into memory whose pointer address is known to me but was not linked into LLVM.</div><div><br></div><div>I have added the function and called LLVMAddGlobalMapping with the pointer, and the program segfaults.</div><div><br></div><div>I was wondering if it is a supported scenario that LLVM can generate a call into an arbitrary function that is not linked.</div><div><br></div><div><br></div></div>
</blockquote></div><br></div>