[llvm-commits] Split MCELFStreamer and ELFObjectWriter into .h and .cpp

Jan Sjodin jan_sjodin at yahoo.com
Tue Mar 1 19:07:47 PST 2011


Yes, I was only wanting to get some basic refactoring in without disturbing the 
2.9 release. There is no good reason to try and squeeze anything in. As far as I 
know this works in the JIT:
1. Generate code for a module in memory.
2. Inline asm in the code is OK.
3. Debug with gdb, as you would normally do e.g. C-x space for setting a 
breakpoint.

Things that don't work:
1. Lazy compilation.

I need to clean up the code, which is being done as I submit patches. If you are 
curious to see the code I am cleaning up it is located here:
http://gitorious.org/llvm-junkjit

- Jan




----- Original Message ----
> From: Rafael Avila de Espindola <rafael.espindola at gmail.com>
> To: Jan Sjodin <jan_sjodin at yahoo.com>
> Cc: llvm-commits at cs.uiuc.edu
> Sent: Tue, March 1, 2011 7:04:25 PM
> Subject: Re: Split MCELFStreamer and ELFObjectWriter into .h and .cpp
> 
> On 11-03-01 05:28 PM, Jan Sjodin wrote:
> > This patch splits the  MCELFStreamer and ELFObjectWriter into .cpp and .h 
>files
> > so the classes  can be used by other components.
> 
> I think the patch is OK.
> 
> How much  of the JIT you have implemented? I think that at this point (just 
>before 2.9)  the refactorings are OK, but the JIT itself should probably wait 
>for the  branch.
> 
> > - Jan
> 
> Cheers,
> Rafael
> 



More information about the llvm-commits mailing list