Displaying 2 results from an estimated 2 matches for "6dffc7c3".
2010 Feb 03
0
[LLVMdev] Using LLVM to generate x86 dynamically in memory
This can be done. Last year I took clang (v. 2.5) and hacked the compiler driver into a library which would JIT C source to memory.
I then created a Zend extension which utilized the library. No external frameworks were used in these hacks, and were fairly simple
to implement once one knew how to use the Clang/LLVM libraries.
I cannot speak to your dll requirement, as the work was done for Linux.
2010 Feb 03
5
[LLVMdev] Using LLVM to generate x86 dynamically in memory
Hi Jim. Thanks for your speedy response. I'm not entirely sure if a JIT is what I'm looking for. I'm basically looking for a dll with an interface that takes a C program as input and compiles and optimizes it to native x86 instructions in an in-memory buffer. I don't want the dll the execute it, and I don't particularly want to translate our expressions into LLVM bitcode