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:49
Message-ID: E1fiTVV-0006g4-6X@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
------
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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2018-07-25 23:47:51 pgsql: LLVMJIT: Release JIT context after running ExprContext shutdown
Previous Message Tomas Vondra 2018-07-24 23:47:30 pgsql: Add strict_multi_assignment and too_many_rows plpgsql checks