]> 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:59 +0000 (08:31 +0200)
commit72a24bebc38f38e4862b9d89a4ce26124e4765f3
tree66b49f022b74076afa1668632e08bfb92e0e2505
parent9fd531534b646a62e0a99be4ca81c2f735a83293
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