pgsql: LLVMJIT: Check for 'noinline' attribute in recursively inlined f

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: LLVMJIT: Check for 'noinline' attribute in recursively inlined f
Date: 2018-07-25 23:47:51
Message-ID: E1fiTVX-0006gc-6H@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-07-26 22:18:59 pgsql: Provide plpgsql tests for cases involving record field changes.
Previous Message Andres Freund 2018-07-25 23:47:49 pgsql: LLVMJIT: Release JIT context after running ExprContext shutdown