search for: clientmm

Displaying 2 results from an estimated 2 matches for "clientmm".

Did you mean: client
2015 Jan 22
2
[LLVMdev] MCJIT and recursive finalization
...ing for: - outer resolveExternalSymbols() has a missing symbol, - we compile and emit into a new "memory section" - we finalize only that section - we run static init of that secion - we pass that now resolved symbol address to the outer MCJIT. I tried to have the LinkingMemManager's ClientMM stack memory managers upon recursion, so each of them can operate on their own memory regions. But that seems to mess up the section counts / symbol offset tables :-( What would you recommend me to do? Cheers, Axel.
2013 Nov 01
4
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
...ore. if (!Result && Name[0] == '_') Result = ParentEngine->getSymbolAddress(Name.substr(1), false); + + if(!Result && Name == "PerformCustomCallback") + return (uint64_t)&(PerformCustomCallback); + if (Result) return Result; return ClientMM->getSymbolAddress(Name); } + +int MCJIT::registerCustomCallback(const char *CallbackName, void* (*Fp)(), void *LLVM_args) { + std::string CbName(CallbackName); + // Add the function to the map + FunctionIndexMapTy::iterator I = GetFunctionIndexMap().find(CbName); + if (I == GetFunctionIndex...