Displaying 2 results from an estimated 2 matches for "oybbsd".
Did you mean:
libbsd
2011 Oct 10
0
[LLVMdev] A question about calling external function in JIT
...f that's possible, unless by static library
you mean a bitcode file. In that case, you can link the bitcode
library to your code before JIT (e.g. using llvm-link or llvm-ld), or
you can essentially do the same thing manually in your code. This was
discussed in a previous thread (http://bit.ly/oYbbsD).
-Jeff
>
> Thanks a lots.
>
> Regards,
> Wei-Fan
>
> 於 10/6/2011 1:45 PM, Jeff Fifield 提到:
>>
>> Hi Wei-Fan,
>>
>> It is possible to reference an external function from JITed code. You
>> can use the llvm::sys::DynamicLibrary routines to load y...
2011 Oct 06
2
[LLVMdev] A question about calling external function in JIT
Hello Sir,
My name is Wei-Fan Chiang.
I am now a graduated student of U. of Utah.
I have a question about call external function in JIT.
Suppose I have a simple program:
int main (int argc, char *argv[]) {
int i = 2, j = 3, k;
k = foo(2, 3);
return 0;
}
"foo" is an external function (non-native function define in dynamic
library) made by us.
In JIT, we just need to