[llvm-commits] [PATCH] Generate info about the JIT process

Evan Cheng evan.cheng at apple.com
Mon May 11 18:12:35 PDT 2009

Wow another Evan. :-)

This looks fine but is it necessary? Can we just use  
MachineCodeEmitter to report these? Should it be under ExecutionEngine  
or CodeGen? Are you expecting to extend it to track more information?


On May 11, 2009, at 3:06 PM, Evan Phoenix wrote:

> This patch, worked on with nlewycky and jyasskin, allows the JIT  
> ExecutionEngine to report details about the generate machine code.
> By introducing a new class that the JIT can fill in details about,  
> it's easy to add future details without having to change the API  
> again.
> Right now, just the address and the size of the machine code are  
> reported. This has proved very useful for me, as I'm able to now  
> feed these details to udis86 when I want to see the generated  
> machine code.
> Thanks for the consideration.
> The patch is also available at: http://github.com/evanphx/llvm-patches/blob/master/jit-info.diff
> <jit-info.diff>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

More information about the llvm-commits mailing list