Bernardo Elayda
2008-Mar-29 23:51 UTC
[LLVMdev] no matching function call to llvm::ExecutionEngine::create(llvm::Module*&)
Hi! I'm a noob to llvm and I'm running through the tutorial for adding JIT. I"m using llvm 2.1 on FC8. I'm just trying to compile this very simple piece of code based upon the full code listing in the tutorial: using namespace std; static ExecutionEngine *TheExecutionEngine; static Module *TheModule; int main() { TheModule = new Module("my cool jit"); TheExecutionEngine = ExecutionEngine::create(TheModule); } I'm using all the headers mentioned in the full code listing of the 'adding JIT' tutorial. When I compile the above code, I get the following error: error: no matching function for call to 'llvm::ExecutionEngine::create(llvm::Module*&) Was the tutorial wrong? Was the tutorial not written for llvm 2.1? Or is it operator error on my part. thx in advance! -Bernardo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080329/9d147869/attachment.html>
Possibly Parallel Threads
- [LLVMdev] Noob questoin on ExecutionEngine::create
- [LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
- [LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
- [LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
- [LLVMdev] compiling the tutorial