[LLVMdev] How to call native functions from bytecode run in JIT?
Jan Rehders
cmdkeen at gmx.de
Wed Jun 27 13:16:56 PDT 2007
Hi,
attached is a small testcase I did. It builds two LLVM functions
which both call two native functions get5 and get6. The native
functions are in the exe and in the dll. On OS X it works like a
charm. On Linux none of the two functions can be called.
Maybe someone can try them or have a look at it to see if there is
something obviously wrong
greetings,
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codegen1.cpp
Type: application/octet-stream
Size: 4065 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070627/54390960/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.c
Type: application/octet-stream
Size: 29 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070627/54390960/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile
Type: application/octet-stream
Size: 1923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070627/54390960/attachment-0002.obj>
-------------- next part --------------
More information about the llvm-dev
mailing list