]> git.ipfire.org Git - thirdparty/postgresql.git/commit
jit: Adjust AArch64-only code for LLVM 21.
authorThomas Munro <tmunro@postgresql.org>
Sat, 22 Nov 2025 07:51:16 +0000 (20:51 +1300)
committerThomas Munro <tmunro@postgresql.org>
Sat, 22 Nov 2025 08:23:23 +0000 (21:23 +1300)
commit600acd34b09a7a06c236e503c130ab01c0fb1f5c
tree399ae203969162ef860242dba9691a62b782414b
parent890cc81b6ee2ce418d3a71d80de4aa0b0450b3b3
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@applied-asynchrony.com>
Reviewed-by: Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Discussion: https://postgr.es/m/d25e6e4a-d1b4-84d3-2f8a-6c45b975f53d%40applied-asynchrony.com
src/backend/jit/llvm/llvmjit_wrap.cpp