]> granicus.if.org Git - postgresql/commit
LLVMJIT: Check for 'noinline' attribute in recursively inlined functions.
authorAndres Freund <andres@anarazel.de>
Wed, 25 Jul 2018 23:23:59 +0000 (16:23 -0700)
committerAndres Freund <andres@anarazel.de>
Wed, 25 Jul 2018 23:23:59 +0000 (16:23 -0700)
commitbcafa263ec408ae8e383e389832b2a623900a55c
tree2cd4898b0aebf0e7b7d1e93c52b42fc2bba72aec
parent167075be3ab1547e186096bb8e6e448cd8eea5af
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
src/backend/jit/llvm/llvmjit_inline.cpp