pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: jit: Supply LLVMGlobalGetValueType() for LLVM < 8. 6+ messages / 1 participants [nested] [flat]
* pgsql: jit: Supply LLVMGlobalGetValueType() for LLVM < 8. @ 2023-10-18 14:06 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Thomas Munro @ 2023-10-18 14:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org jit: Supply LLVMGlobalGetValueType() for LLVM < 8. Commit 37d5babb used this C API function while adding support for LLVM 16 and opaque pointers, but it's not available in LLVM 7 and older. Provide it in our own llvmjit_wrap.cpp. It just calls a C++ function that pre-dates LLVM 3.9, our minimum target. Back-patch to 12, like 37d5babb. Discussion: https://postgr.es/m/CA%2BhUKGKnLnJnWrkr%3D4mSGhE5FuTK55FY15uULR7%3Dzzc%3DwX4Nqw%40mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/f90b4a846b32d3d6d2fd9d55a93735501e4c34fd Modified Files -------------- src/backend/jit/llvm/llvmjit_wrap.cpp | 8 ++++++++ src/include/jit/llvmjit.h | 4 ++++ 2 files changed, 12 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: jit: Supply LLVMGlobalGetValueType() for LLVM < 8. @ 2023-10-18 14:07 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Thomas Munro @ 2023-10-18 14:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org jit: Supply LLVMGlobalGetValueType() for LLVM < 8. Commit 37d5babb used this C API function while adding support for LLVM 16 and opaque pointers, but it's not available in LLVM 7 and older. Provide it in our own llvmjit_wrap.cpp. It just calls a C++ function that pre-dates LLVM 3.9, our minimum target. Back-patch to 12, like 37d5babb. Discussion: https://postgr.es/m/CA%2BhUKGKnLnJnWrkr%3D4mSGhE5FuTK55FY15uULR7%3Dzzc%3DwX4Nqw%40mail.gmail.com Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/60596f148a661e0fd1d7c1f13a72b55124511e3a Modified Files -------------- src/backend/jit/llvm/llvmjit_wrap.cpp | 8 ++++++++ src/include/jit/llvmjit.h | 4 ++++ 2 files changed, 12 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: jit: Supply LLVMGlobalGetValueType() for LLVM < 8. @ 2023-10-18 14:07 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Thomas Munro @ 2023-10-18 14:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org jit: Supply LLVMGlobalGetValueType() for LLVM < 8. Commit 37d5babb used this C API function while adding support for LLVM 16 and opaque pointers, but it's not available in LLVM 7 and older. Provide it in our own llvmjit_wrap.cpp. It just calls a C++ function that pre-dates LLVM 3.9, our minimum target. Back-patch to 12, like 37d5babb. Discussion: https://postgr.es/m/CA%2BhUKGKnLnJnWrkr%3D4mSGhE5FuTK55FY15uULR7%3Dzzc%3DwX4Nqw%40mail.gmail.com Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b2e0977886630b2bf749937fd694f0c3c1392210 Modified Files -------------- src/backend/jit/llvm/llvmjit_wrap.cpp | 8 ++++++++ src/include/jit/llvmjit.h | 4 ++++ 2 files changed, 12 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: jit: Supply LLVMGlobalGetValueType() for LLVM < 8. @ 2023-10-18 14:08 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Thomas Munro @ 2023-10-18 14:08 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org jit: Supply LLVMGlobalGetValueType() for LLVM < 8. Commit 37d5babb used this C API function while adding support for LLVM 16 and opaque pointers, but it's not available in LLVM 7 and older. Provide it in our own llvmjit_wrap.cpp. It just calls a C++ function that pre-dates LLVM 3.9, our minimum target. Back-patch to 12, like 37d5babb. Discussion: https://postgr.es/m/CA%2BhUKGKnLnJnWrkr%3D4mSGhE5FuTK55FY15uULR7%3Dzzc%3DwX4Nqw%40mail.gmail.com Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ee3e4c41f35449c3cffc05a4b7738940075d9c28 Modified Files -------------- src/backend/jit/llvm/llvmjit_wrap.cpp | 8 ++++++++ src/include/jit/llvmjit.h | 4 ++++ 2 files changed, 12 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: jit: Supply LLVMGlobalGetValueType() for LLVM < 8. @ 2023-10-18 14:08 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Thomas Munro @ 2023-10-18 14:08 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org jit: Supply LLVMGlobalGetValueType() for LLVM < 8. Commit 37d5babb used this C API function while adding support for LLVM 16 and opaque pointers, but it's not available in LLVM 7 and older. Provide it in our own llvmjit_wrap.cpp. It just calls a C++ function that pre-dates LLVM 3.9, our minimum target. Back-patch to 12, like 37d5babb. Discussion: https://postgr.es/m/CA%2BhUKGKnLnJnWrkr%3D4mSGhE5FuTK55FY15uULR7%3Dzzc%3DwX4Nqw%40mail.gmail.com Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/981292c19f387c5416294096a22507a54ca30136 Modified Files -------------- src/backend/jit/llvm/llvmjit_wrap.cpp | 8 ++++++++ src/include/jit/llvmjit.h | 4 ++++ 2 files changed, 12 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: jit: Supply LLVMGlobalGetValueType() for LLVM < 8. @ 2023-10-18 14:08 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Thomas Munro @ 2023-10-18 14:08 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org jit: Supply LLVMGlobalGetValueType() for LLVM < 8. Commit 37d5babb used this C API function while adding support for LLVM 16 and opaque pointers, but it's not available in LLVM 7 and older. Provide it in our own llvmjit_wrap.cpp. It just calls a C++ function that pre-dates LLVM 3.9, our minimum target. Back-patch to 12, like 37d5babb. Discussion: https://postgr.es/m/CA%2BhUKGKnLnJnWrkr%3D4mSGhE5FuTK55FY15uULR7%3Dzzc%3DwX4Nqw%40mail.gmail.com Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d701f0d1f3e7ed9e8b8ff0d368add9cdae3b8108 Modified Files -------------- src/backend/jit/llvm/llvmjit_wrap.cpp | 8 ++++++++ src/include/jit/llvmjit.h | 4 ++++ 2 files changed, 12 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2023-10-18 14:08 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2023-10-18 14:06 pgsql: jit: Supply LLVMGlobalGetValueType() for LLVM < 8. Thomas Munro <tmunro@postgresql.org> 2023-10-18 14:07 pgsql: jit: Supply LLVMGlobalGetValueType() for LLVM < 8. Thomas Munro <tmunro@postgresql.org> 2023-10-18 14:07 pgsql: jit: Supply LLVMGlobalGetValueType() for LLVM < 8. Thomas Munro <tmunro@postgresql.org> 2023-10-18 14:08 pgsql: jit: Supply LLVMGlobalGetValueType() for LLVM < 8. Thomas Munro <tmunro@postgresql.org> 2023-10-18 14:08 pgsql: jit: Supply LLVMGlobalGetValueType() for LLVM < 8. Thomas Munro <tmunro@postgresql.org> 2023-10-18 14:08 pgsql: jit: Supply LLVMGlobalGetValueType() for LLVM < 8. Thomas Munro <tmunro@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox