pgsql: jit: Don't inline functions that access thread-locals.

2021-07-21 Thread Thomas Munro
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 Reviewed-b

pgsql: jit: Don't inline functions that access thread-locals.

2021-07-21 Thread Thomas Munro
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 Reviewed-b

pgsql: jit: Don't inline functions that access thread-locals.

2021-07-21 Thread Thomas Munro
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 Reviewed-b

pgsql: jit: Don't inline functions that access thread-locals.

2021-07-21 Thread Thomas Munro
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 Reviewed-b

pgsql: jit: Don't inline functions that access thread-locals.

2021-07-21 Thread Thomas Munro
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 Reviewed-b