Обсуждение: pgsql: jit: fix build with LLVM-21

Поиск
Список
Период
Сортировка

pgsql: jit: fix build with LLVM-21

От
Peter Eisentraut
Дата:
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

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(+)