[llvm-commits] Split MCELFStreamer and ELFObjectWriter into .h and .cpp
Rafael Ávila de Espíndola
rafael.espindola at gmail.com
Tue Mar 1 19:17:29 PST 2011
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