search for: knownfunction

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

2012 Apr 15
2
[LLVMdev] Proper way to use "host application" function from JIT code
...;plugin.cpp". Proceeding with my experiments, I wanted to try to "export" a function from the "host-application" to be called by the "plugin" and following the discussion at the above linked address, it seems like I should have to go through the llvm::Function *KnownFunction = cast<llvm::Function>(Mod->getOrInsertFunction(...) route, but it turns out I was able to simply define a function in the host-application, and then extern declare it in my plugin.cpp and then be able to call it from one of the functions inside the plugin itself. In other words, I didn&...
2012 Apr 16
0
[LLVMdev] Proper way to use "host application" function from JIT code
...;plugin.cpp". Proceeding with my experiments, I wanted to try to "export" a function from the "host-application" to be called by the "plugin" and following the discussion at the above linked address, it seems like I should have to go through the llvm::Function *KnownFunction = cast<llvm::Function>(Mod->getOrInsertFunction(...) route, but it turns out I was able to simply define a function in the host-application, and then extern declare it in my plugin.cpp and then be able to call it from one of the functions inside the plugin itself. In other words, I didn...
2012 Apr 16
1
[LLVMdev] Proper way to use "host application" function from JIT code
...; > Proceeding with my experiments, I wanted to try to "export" a function from the "host-application" to be called by the "plugin" and following the discussion at the above linked address, it seems like I should have to go through the > > llvm::Function *KnownFunction = cast<llvm::Function>(Mod->getOrInsertFunction(...) > > route, but it turns out I was able to simply define a function in the host-application, and then extern declare it in my plugin.cpp and then be able to call it from one of the functions inside the plugin itself. > > I...