diff options
author | Thomas Munro <tmunro@postgresql.org> | 2021-07-22 14:11:17 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2021-07-22 15:07:52 +1200 |
commit | 1cfc9f2ef61df81fa54a697081e372672c23e980 (patch) | |
tree | 94d730cd4c731a5e03bb823f6163ac28c0c1bf1e /src/backend/regex/regexec.c | |
parent | 8344979d5bbc63aa8fb8c804bd933c887a2abb58 (diff) | |
download | postgresql-1cfc9f2ef61df81fa54a697081e372672c23e980.tar.gz postgresql-1cfc9f2ef61df81fa54a697081e372672c23e980.zip |
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
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions