pgsql: jit: fix build with LLVM-21

Started by Peter Eisentraut9 months ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

jit: fix build with LLVM-21

LLVM-21 renamed llvm::GlobalValue::getGUID() to
getGUIDAssumingExternalLinkage(), so add a version guard.

Author: Holger Hoffstätte <holger@applied-asynchrony.com>
Discussion: /messages/by-id/d25e6e4a-d1b4-84d3-2f8a-6c45b975f53d@applied-asynchrony.com

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/59d6e843e9a8cbdb982121871c3af6db0eb87d68

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