[PATCH] Add support for function attributes and variable attributes

Guillaume Gomez guillaume1.gomez@gmail.com
Wed Nov 15 16:53:51 GMT 2023


Hi,

This patch adds the (incomplete) support for function and variable
attributes. The added attributes are the ones we're using in
rustc_codegen_gcc but all the groundwork is done to add more (and we
will very likely add more as we didn't add all the ones we use in
rustc_codegen_gcc yet).

The only big question with this patch is about `inline`. We currently
handle it as an attribute because it is more convenient for us but is
it ok or should we create a separate function to mark a function as
inlined?

Thanks in advance for the review.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-PATCH-Add-support-for-function-attributes-and-variab.patch
Type: text/x-patch
Size: 87042 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/jit/attachments/20231115/a49e03dc/attachment-0001.bin>


More information about the Jit mailing list