> > Now I have other problem: I have a Module and I need generate a iostream > > (memory) with native x86 code (maybe elf/coff) to be executed later > (into > > the guest process space, without fork!!). I studied llc and lli, but > they > > don't help me much. Any idea? Are there any guy working in some like > that? > > There's two approaches that could be used here: > > 1. lli-style. Save the Module as bytecode and dynamically compile it at > runtime. Your thread would: read the bytecode, convert it to x86 > code in memory and then execute it directly from memory. >Dear developers: What are the classes evolved in to convert bytecode to x86 code directly? Without Just In Time (all at once).
On Sat, Jan 08, 2005 at 09:32:34PM +0100, Francisco Puentes wrote:> What are the classes evolved in to convert bytecode to x86 code > directly? Without Just In Time (all at once).There is currently no such thing. Please see the other email I just sent for details as to what your choices are. -- Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
> > What are the classes evolved in to convert bytecode to x86 code > > directly? Without Just In Time (all at once). > > There is currently no such thing. Please see the other email I just > sent for details as to what your choices are. >Last question (I promise you): Can LLVM generated ELF or COFF binaries from a Module into an iostream?> -- > Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev