[LLVMdev] Tool for run-time code generation?

Samuel Crow samuraileumas at yahoo.com
Fri Jul 16 12:31:55 PDT 2010

----- Original Message ----
> From: David Piepgrass <dpiepgrass at mentoreng.com>
> To: Óscar Fuentes <ofv at wanadoo.es>
> Cc: "LLVMdev at cs.uiuc.edu" <LLVMdev at cs.uiuc.edu>
> Sent: Fri, July 16, 2010 2:22:57 PM
> Subject: Re: [LLVMdev] Tool for run-time code generation?
> > > What's wrong with running LLVM on ARM?
> > 
> > LLVM can  generate code for ARM, but the JIT requires extra target and
> > platform  dependent stuff, and that's not done for arm-wince.
> The release notes say  "compiler_rt now supports ARM targets". What else is 
>needed? Keep in mind that I  do not need (or want) Clang or any of the 
>optimizers: I just want to generate  small sequences of machine code in-memory 
>(on the heap, I assume) and execute  them.

Have you ever tried running a dynamically allocated code that cannot execute 
malloc() or any runtime libraries or library-based functions because they 
haven't been ported to your architecture?  That's what it would be like trying 
to run ARM Linux code on your WinCE target.  Windows CE requires an LLVM port 
before it will be useful to you.  Put simply, the core architecture of the LLVM 
ARM backend requires porting to work.


More information about the llvm-dev mailing list