Displaying 1 result from an estimated 1 matches for "getargumentsindexmap".
2013 Nov 01
4
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
...tionIndexMapTy;
+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 "CallbackName" and passes the
+/// the argument "Args" and the extra LLVM argument to the regi...