search for: llvmcompiledprogram

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

2008 Feb 21
3
[LLVMdev] LLVM Win32 Issue
...what do you mean by "somewhere real"? Thanks again, Aaron > You'll need to link in x86.lib as generated from the VStudio project. > > I had trouble convincing VStudio's linker to keep the relevant code > around, so did this in the app I work on: > > void > LLVMCompiledProgram::linkerTrick() > { > llvm::Module staticModule("staticModule"); > std::string staticString; > llvm::X86_32TargetMachine staticMachine(staticModule, staticString); > } > > Which I called from somewhere real. > > Chuck.
2008 Feb 21
0
[LLVMdev] LLVM Win32 Issue
...what do you mean by "somewhere real"? Thanks again, Aaron > You'll need to link in x86.lib as generated from the VStudio project. > > I had trouble convincing VStudio's linker to keep the relevant code > around, so did this in the app I work on: > > void > LLVMCompiledProgram::linkerTrick() > { > llvm::Module staticModule("staticModule"); > std::string staticString; > llvm::X86_32TargetMachine staticMachine(staticModule, staticString); > } > > Which I called from somewhere real. > > Chuck. ________________________________...
2008 Feb 21
3
[LLVMdev] LLVM Win32 Issue
Hello all, I'm trying to bring an LLVM-based project that is working on Linux up on Win32. I am having problems with llvm::ExecutionEngine::create returning a NULL. I traced it to these lines: // Unless the interpreter was explicitly selected, try making a JIT. if (!ForceInterpreter && JITCtor) EE = JITCtor(MP, ErrorStr); // If we can't make a JIT, make an