Labeling of blocks and locals
David Malcolm
dmalcolm@redhat.com
Thu Jan 1 00:00:00 GMT 2015
On Mon, 2015-06-15 at 20:21 +0100, Dibyendu Majumdar wrote:
> On 15 June 2015 at 04:41, David Malcolm <dmalcolm@redhat.com> wrote:
>
> > (BTW, the "const char
> > *" is copied, so you can build them up using snprintf into an on-stack
> > temporary buffer:
> > char buf[16];
> > snprintf(buf, sizeof(buf), "op%i", idx);
> > or somesuch).
> >
>
> You anticipated my question!
...and fwiw it also applies to basically every place where the API takes
a const char *. I'm working on a patch for the docs to clarify this.
More information about the Jit
mailing list