search for: _a_outside_func

Displaying 3 results from an estimated 3 matches for "_a_outside_func".

Did you mean: a_outside_func
2014 Apr 04
2
[LLVMdev] Weird problems on calling an external function from MCJIT on Windows(mingw)
Hello I quite thank you for your advice,but I have to tell that it made no difference too calling "LLVMAddGlobalMapping(ee,LLVMGetNamedFunction(m,"_a_outside_func"),(void*)(&a_outside_func));". 2014-04-04 16:10 GMT+08:00 Anton Korobeynikov <anton at korobeynikov.info>: > Hello > > While there is a symbol in the object file, there is nothing like this > in the final executable (well, you can try to export functions from >...
2014 Apr 04
2
[LLVMdev] Weird problems on calling an external function from MCJIT on Windows(mingw)
oh,I'm sorry to make such a stupid mistake...But I still have to tell the correct one still didnt make difference...so weird 2014-04-04 16:30 GMT+08:00 Anton Korobeynikov <anton at korobeynikov.info>: > Are you sure, that LLVMGetNamedFunction(m,"_a_outside_func") does not > return NULL? I believe it should be > LLVMGetNamedFunction(m,"a_outside_func") > > On Fri, Apr 4, 2014 at 12:25 PM, waxiadao at gmail.com <waxiadao at gmail.com> > wrote: > > Hello > > I quite thank you for your advice,but I have to tell...
2014 Apr 04
2
[LLVMdev] Weird problems on calling an external function from MCJIT on Windows(mingw)
...#39;s fixed. Then I got "LLVM ERROR: Program used external function 'a_outside_func' which could not be resolved!". I assumed my program didn't export the symbol properly.Thus,I use nm to check my program's export and I found "a_outside_func" was renamed to "_a_outside_func" . For it I rename the function name in the IR to "_a_outside_func".But it seemed to make no difference: "LLVM ERROR: Program used external function '_a_outside_func' which could not be resolved!". ............. After a day's wasting I unconsciously packed my ex...