search for: argumentsindexmapty

Displaying 1 result from an estimated 1 matches for "argumentsindexmapty".

2013 Nov 01
4
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
...tern "C" void LLVMLinkInMCJIT() { } +typedef std::map<std::string, void*(*)()> FunctionIndexMapTy; +static FunctionIndexMapTy FunctionIndexMap; + +static FunctionIndexMapTy& GetFunctionIndexMap() { + return FunctionIndexMap; +} + +typedef std::map<std::string, void*> ArgumentsIndexMapTy; +static ArgumentsIndexMapTy ArgumentsIndexMap; + +static ArgumentsIndexMapTy& GetArgumentsIndexMap() { + return ArgumentsIndexMap; +} + +/// PerformCustomCallback - This is the function responsible for calling one of the +/// registered callbacks as indicated by the parameter "Callb...