]> 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:32:14 +0000 (08:32 +0200)
commit59d6e843e9a8cbdb982121871c3af6db0eb87d68
treebf4b736946f8956459e307e08e577d20e3a8614e
parent308773617d2dc8c717a695498c052722c5558660
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