Displaying 4 results from an estimated 4 matches for "rtcg_callback".
2006 Dec 09
2
[LLVMdev] jit with external functions
...am creating a python module that has the llvm functionality. This
module is loaded
into the process as a shared library. I want to generate llvm assembler that has
calls to functions in this shared library.
I just tried an experiment and I got this back:
ERROR: Program used external function 'rtcg_callback' which could not
be resolved!
Aborted
It looks like the additional shared libraries might not be searched. I
plan on looking at
the code to see if I can modify it to handle my case. Any suggestions
on how or where
I should make the change?
Thanks for the info.
-Ram
2006 Dec 09
0
[LLVMdev] jit with external functions
...has the llvm functionality. This
> module is loaded
> into the process as a shared library. I want to generate llvm assembler that has
> calls to functions in this shared library.
>
> I just tried an experiment and I got this back:
>
> ERROR: Program used external function 'rtcg_callback' which could not
> be resolved!
> Aborted
Guess not :). Are you sure that rtcg_callback isn't marked static and
isn't hidden by an export map?
> It looks like the additional shared libraries might not be searched. I
> plan on looking at the code to see if I can modify i...
2006 Dec 09
2
[LLVMdev] jit with external functions
I have an application that is generating llvm assembler text files, these
are then loaded with ParseAssemblyFile. I am also using
ExecutionEngine::runFunction
to call functions in the loaded/created modules.
Can I place references to external functions in the assembler files? For example
I if my application has a function called fred() I would like to place
calls to fred
in the assembler text
2006 Dec 09
0
[LLVMdev] jit with external functions
On Fri, 8 Dec 2006, Ram Bhamidipaty wrote:
> Can I place references to external functions in the assembler files? For example
> I if my application has a function called fred() I would like to place
> calls to fred
> in the assembler text file. Can I do that and have the external function call
> resolve to the address of fred() in my application?
Yes, you can do this. The JIT will