Basic blocks, jump targets and locals

Dibyendu Majumdar mobile@majumdar.org.uk
Thu Jan 1 00:00:00 GMT 2015


On 11 June 2015 at 21:34, David Malcolm <dmalcolm@redhat.com> wrote:
> BTW, you may want to use gcc_jit_block_add_comment:
> https://gcc.gnu.org/onlinedocs/jit/topics/functions.html#gcc_jit_block_add_comment
>
> which lets you add arbitrary comments as "statements" into the libgccjit
> IR, so it shows up in the various debug dumps.  I've found this to be
> hugely valuable when debugging compilation of bytecode into libgccjit.

Cool. I will try that to annotate the blocks with the bytecode
instruction - that will be very useful for debugging.



More information about the Jit mailing list