Thread: pgsql: LLVMJIT: Check for 'noinline' attribute in recursively inlinedf

pgsql: LLVMJIT: Check for 'noinline' attribute in recursively inlinedf

From
Andres Freund
Date:
LLVMJIT: Check for 'noinline' attribute in recursively inlined functions.

Previously the attribute was only checked for external functions
inlined, not "static" functions that had to be inlined as
dependencies.

This isn't really a bug, but makes debugging a bit harder. The new
behaviour also makes more sense. Therefore backpatch.

Author: Andres Freund
Backpatch: 11-, where JIT compilation was added

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1cfa69dcd8eff4a9611bf726bb90e89b77922a61

Modified Files
--------------
src/backend/jit/llvm/llvmjit_inline.cpp | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)