search for: llvmific

Displaying 7 results from an estimated 7 matches for "llvmific".

Did you mean: llvmified
2008 Feb 21
0
[LLVMdev] LLVM Win32 Issue
"Aaron Dwyer" <llvmification at gmail.com> writes: [snip] > JITCtor and InterpCtor are both NULL, so it's obvious why I'm getting > back a NULL execution engine. I am pretty sure it's because I'm > missing a few llvm .lib or .obj files. What is the set of llvm object > files needed at li...
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
2008 Jan 15
1
[LLVMdev] Calling between modules
Hello, I am fairly new to LLVM development. Currently I am trying to treat LLVM modules almost like ".o" files in a "normal" development environment, and then calling functions in one module from another module. Is this possible? Basically, I want self contained chunks of code with dependencies on functions in other self contained chunks that get resolved at JIT time. I
2008 Jan 15
0
[LLVMdev] Calling between modules
Bill, That is great to hear. I must be doing something wrong. When I try to do this, I get ERROR: Program used external function 'myLinkedFunction' which could not be resolved! Because of its brevity, I use getOrInsertFunction when I am creating calls to the function in module A. I use new llvm::Function(type, llvm::Function::ExternalLinkage, "myLinkedFunction", moduleB)
2008 Feb 27
1
[LLVMdev] JITted code in multiple threads
I just thought of something that scared me, and I'm hoping there is a happy ending. I realized recently that the JITter does not necessarily finish JITting inside of getPointerToFunction. Instead, it often generates stubs which get a final JIT only upon jumping to them. Now--I am in the situation where I'd like to do a getPointerToFunction, and then take the pointer and pass it out to
2008 Jan 16
0
[LLVMdev] Cross-module function calls (code included)
Hello, I'm not sure what I am trying to do is possible. I'm trying to create two modules, and call a function in one module from another module. First, a reassurance that I'm not trying to do something completely off the wall would be nice as I don't see any tutorials that do this. Second, any help getting this to work would be wonderful. Thanks, Aaron In my code, you'll
2008 Feb 21
3
[LLVMdev] LLVM Win32 Issue
Thanks for your response Chuck. >From this and the other responses to my question, it looks like I'm including all the right object files, so it must be something with Visual Studio stripping "dead" code. So, given your response Chuck, I have a few questions. First, what exactly is the code that VStudio seems to be stripping? I might be able to figure out how to prevent it