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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bcafa263ec408ae8e383e389832b2a623900a55c

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