]> git.ipfire.org Git - thirdparty/postgresql.git/commit
jit: fix build with LLVM-21
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 15 Sep 2025 06:13:21 +0000 (08:13 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 15 Sep 2025 06:31:53 +0000 (08:31 +0200)
commit2670881afd9175b8946530646eb4fb76aaebd340
treefb5fc182d6964f3ae95d1552ed782d64de88c9c8
parent281ad4ed11d235cccad78fcbf7d807c615e1c0e8
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: https://www.postgresql.org/message-id/flat/d25e6e4a-d1b4-84d3-2f8a-6c45b975f53d%40applied-asynchrony.com
src/backend/jit/llvm/llvmjit_inline.cpp