jit: Adjust AArch64-only code for LLVM 21.
authorThomas Munro <[email protected]>
Sat, 22 Nov 2025 07:51:16 +0000 (20:51 +1300)
committerThomas Munro <[email protected]>
Sat, 22 Nov 2025 08:22:37 +0000 (21:22 +1300)
commit60215eae7c4285e526fdf607074a28140552d3c5
tree6f82e4b184b95a7c09adbd26919ed57a0514bf44
parentf2e0ca0af97bc188626f1a3472aa27f25665e296
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 <[email protected]>
Reviewed-by: Anthonin Bonnefoy <[email protected]>
Discussion: https://postgr.es/m/d25e6e4a-d1b4-84d3-2f8a-6c45b975f53d%40applied-asynchrony.com
src/backend/jit/llvm/llvmjit_wrap.cpp