search for: performcustomcallback

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

2013 Nov 01
4
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
...cutable should allow having a function be registered as callback with the execution engines and the program being compiled by LLVM should be able to make a callback into that function inside lli during its execution. *Design:* 1. The user programs link with a dummy library function called PerformCustomCallback(const char* CallbackName, void *Args). 2. LLVM ExecutionEngines (JIT and MCJIT) will implement this function to perform the multiplexing of the various callbacks registered with them. 3. Whenever the user program calls PerformCustomCallback with appropriate arguments, lli should exper...
2013 Nov 01
0
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
...d by LLVM should be able to make a callback into that function > inside lli during its execution. > What are you using lli for that you are running into this problem? -- Sean Silva > > > *Design:* > > 1. The user programs link with a dummy library function called > PerformCustomCallback(const char* CallbackName, void *Args). > > 2. LLVM ExecutionEngines (JIT and MCJIT) will implement this > function to perform the multiplexing of the various callbacks registered > with them. > > 3. Whenever the user program calls PerformCustomCallback with > approp...
2013 Nov 01
0
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
...; executable should allow having a function be registered as callback with the execution engines and the program being compiled by LLVM should be able to make a callback into that function inside lli during its execution. Design: 1. The user programs link with a dummy library function called PerformCustomCallback(const char* CallbackName, void *Args). 2. LLVM ExecutionEngines (JIT and MCJIT) will implement this function to perform the multiplexing of the various callbacks registered with them. 3. Whenever the user program calls PerformCustomCallback with appropriate arguments, lli should experie...