]> 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:40:43 +0000 (16:40 -0700)
commit1cfa69dcd8eff4a9611bf726bb90e89b77922a61
tree1705082c5796c617b25ed938cbf54b54024caca4
parentf2db5f3bb0b5d429e9fa5b093936f8524e4192b1
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