https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688

--- Comment #7 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
One other thing: the docs should make it clear about the leading ".".

If I want to create the equivalent of:

   __attribute__((section(".section")))

do I call it with:

   gcc_jit_lvalue_set_link_section(foo, "section");

or with:

   gcc_jit_lvalue_set_link_section(foo, ".section");

It's a bit unclear to me from just reading the patch.  The example suggests
it's the former.  In either case, the documentation should be clearer about
this.

Reply via email to