git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 91e9e89) | patch
jit: Don't inline functions that access thread-locals.
2021年7月22日 02:11:17 +0000 (14:11 +1200)
2021年7月22日 03:02:18 +0000 (15:02 +1200)
commit 0207d5fbebed7eb698a7e5f3adf30fafe95bc4b9
jit: Don't inline functions that access thread-locals.

Code inlined by LLVM can crash or fail with "Relocation type not
implemented yet!" if it tries to access thread local variables. Don't
inline such code.

Back-patch to 11, where LLVM arrived. Bug #16696.

Author: Dmitry Marakasov <amdmi3@amdmi3.ru>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/16696-29d944a33801fbfe@postgresql.org
src/backend/jit/llvm/llvmjit_inline.cpp diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /