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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 37d5bab) | patch
jit: Supply LLVMGlobalGetValueType() for LLVM < 8.
2023年10月18日 14:01:55 +0000 (03:01 +1300)
2023年10月18日 14:01:55 +0000 (03:01 +1300)
commit f90b4a846b32d3d6d2fd9d55a93735501e4c34fd
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
src/backend/jit/llvm/llvmjit_wrap.cpp diff | blob | blame | history
src/include/jit/llvmjit.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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