__attribute__((cleanup)) support in libgccjit?
Eric Wong
e@80x24.org
Thu Jun 8 13:46:26 GMT 2023
Hi, I'm considering libgccjit for use in a new GPL3+ scripting
language and I am wondering if declaring locals with
__attribute__((cleanup)) is supported by libgccjit.
I find gcc_jit_lvalue_set_alignment in libgccjit.h, but not
many other attributes for locals..
I'll likely use libgccjit regardless since it seems like it could
make libffi redundant (or maybe I'm wrong on that bit...).
I might steal LuaJIT's C parser to deal with parsing headers and
structs; not sure if gcc exposes a C parser as a stable API...
Thanks.
More information about the Jit
mailing list