<p dir="ltr">Don't you have the same problem with other atoms, e.g. variable names?<br>
This sounds like something that should be implemented in the language's runtime library.</p>
<div class="gmail_quote">On May 4, 2014 7:15 PM, "Alexander Popolitov" <<a href="mailto:popolit@gmail.com">popolit@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi everyone!<br>
<br>
I'm trying to implement lisp's funcall function, which roughly calls a function, name of which<br>
is known only at runtime.<br>
I know that LLVM IR 'call' directive can accept function pointers, so the question is,<br>
is there a simple way to get a function pointer from a function name (represented as e.g. i8*)?<br>
<br>
BTW, I'm using llvmpy to generate LLVM IR, so if there is a way to do this using llvmpy tools, it would also do.<br>
<br>
Yours sincerely,<br>
Alexandr Popolitov<br>
______________________________<u></u>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvmdev</a><br>
</blockquote></div>