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

Jan Sjodin jan_sjodin at yahoo.com
Thu Mar 3 06:58:05 PST 2011


I updated the patch slightly, since I was out for a day and ELFObjectWriter.cpp 
moved on. 

Committed updated patch as revision 126942.


- Jan

----- Original Message ----
> From: Rafael Ávila de Espíndola <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 10:17:29 PM
> Subject: Re: Split MCELFStreamer and ELFObjectWriter into .h and .cpp
> 
> On 2011-03-01 22:07, Jan Sjodin wrote:
> > 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.
> 
> Nice!
> 
> Item 3  in particular is really interesting. I think the last use of the
> old ELF  writer in Codegen is producing debug info for the old jit. If
> that can be  removed I think a lot of code in Codegen could be cleaned up.
> 
> > 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
> 
> Cheers,
> Rafael
> 




More information about the llvm-commits mailing list