jit: Changes for LLVM 17.

Thomas Munro <tmunro@postgresql.org>

Commit: 53c4dabe18d3de365a96ccf8c7493a9ffd4b6dcf
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2023-10-18T16:16:24Z
Releases: 13.13
jit: Changes for LLVM 17.

Changes required by https://llvm.org/docs/NewPassManager.html.

Back-patch to 12, leaving the final release of 11 unchanged, consistent
with earlier decision not to back-patch LLVM 16 support either.

Author: Dmitry Dolgov <9erthalion6@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/CA%2BhUKG%2BWXznXCyTgCADd%3DHWkP9Qksa6chd7L%3DGCnZo-MBgg9Lg%40mail.gmail.com

Files

PathChange+/−
src/backend/jit/llvm/llvmjit.c modified +31 −0
src/backend/jit/llvm/llvmjit_wrap.cpp modified +6 −0

Discussion