pgsql: jit: Adjust AArch64-only code for LLVM 21.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: jit: Adjust AArch64-only code for LLVM 21.
Date: 2025-11-22 08:25:43
Message-ID: E1vMiwB-000mMX-0T@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

jit: Adjust AArch64-only code for LLVM 21.

LLVM 21 changed the arguments of RTDyldObjectLinkingLayer's
constructor, breaking compilation with the backported
SectionMemoryManager from commit 9044fc1d.

https://github.com/llvm/llvm-project/commit/cd585864c0bbbd74ed2a2b1ccc191eed4d1c8f90

Backpatch-through: 14
Author: Holger Hoffstätte <holger(at)applied-asynchrony(dot)com>
Reviewed-by: Anthonin Bonnefoy <anthonin(dot)bonnefoy(at)datadoghq(dot)com>
Discussion: https://postgr.es/m/d25e6e4a-d1b4-84d3-2f8a-6c45b975f53d%40applied-asynchrony.com

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/600acd34b09a7a06c236e503c130ab01c0fb1f5c

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

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2025-11-22 08:26:03 pgsql: jit: Adjust AArch64-only code for LLVM 21.
Previous Message Thomas Munro 2025-11-22 08:25:29 pgsql: jit: Adjust AArch64-only code for LLVM 21.