[LLVMdev] llvm address of
Paul Martin
srucnoc at gmail.com
Sun May 24 09:42:54 PDT 2009
I'm trying to generate the equivalent of this function dynamically in llvm
(a la http://llvm.org/docs/tutorial/JITTutorial1.html) but after half a day
of searching I still haven't found how to create the equivalent of the &
(address of) operator in the llvm API, more exactly how do I obtain the i8*
from the i32 below
void fn(int x)
{
another_fn(&x);
}
thanks for any suggestions
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090524/77da2175/attachment.html>
More information about the llvm-dev
mailing list