search for: get6

Displaying 5 results from an estimated 5 matches for "get6".

Did you mean: get
2007 Jun 27
2
[LLVMdev] How to call native functions from bytecode run in JIT?
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-t...
2007 Jun 14
0
[LLVMdev] How to call native functions from bytecode run in JIT?
Hi Jan, In gcc for Linux, you have the -rdynamic option that allows an executable to dlsym its symbols. Since llvm use dlsym to find the symbols, you could try with this option. That's what I did. And don't forget to use the C++ name if you compile with C++. Cheers, Nicolas Jan Rehders wrote: > Hi, > > I was able to try this on linux again. Unfortunately it doesn't work
2007 Jun 29
0
[LLVMdev] How to call native functions from bytecode run in JIT?
...is will force an indirect call, and won't use the jump-size limitation of the bl instruction. Let me know if this helps. Cheers, Nicolas Jan Rehders wrote: > 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 > > >...
2007 Jun 13
5
[LLVMdev] How to call native functions from bytecode run in JIT?
Hi, I was able to try this on linux again. Unfortunately it doesn't work at all (neither using runFunction nor a CallInst). It simply says function called get5 not known. Calling printf the same way works, though. On linux the function is exported as "get5" from the executable while it is called "_get5" on OS X. I could not spot any other differences.. any
2007 Jun 30
1
[LLVMdev] How to call native functions from bytecode run in JIT?
...; limitation > of the bl instruction. > > Let me know if this helps. > > Cheers, > Nicolas > > Jan Rehders wrote: >> 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 >> >&gt...