GCC_JIT_FUNCTION_EXPORTED

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Values

ValueMeaning
GCC_JIT_FUNCTION_EXPORTED

Function is defined by the client code and visible by name outside of the JIT.

GCC_JIT_FUNCTION_INTERNAL

Function is defined by the client code, but is invisible outside of the JIT. Analogous to a "static" function.

GCC_JIT_FUNCTION_IMPORTED

Function is not defined by the client code; we're merely referring to it. Analogous to using an "extern" function from a header file.

GCC_JIT_FUNCTION_ALWAYS_INLINE

Function is only ever inlined into other functions, and is invisible outside of the JIT.

Analogous to prefixing with "inline" and adding __attribute__((always_inline)).

Inlining will only occur when the optimization level is above 0; when optimization is off, this is essentially the same as GCC_JIT_FUNCTION_INTERNAL.

Meta