diff options
author | Thomas Munro <tmunro@postgresql.org> | 2023-10-19 03:01:55 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2023-10-19 03:04:09 +1300 |
commit | d701f0d1f3e7ed9e8b8ff0d368add9cdae3b8108 (patch) | |
tree | 034bbef76ce33cf36419e178a2e4356b2bd6924c /src/tutorial/basics.source | |
parent | 15ddc9725eb73d97a16652c7c90d993302773544 (diff) | |
download | postgresql-d701f0d1f3e7ed9e8b8ff0d368add9cdae3b8108.tar.gz postgresql-d701f0d1f3e7ed9e8b8ff0d368add9cdae3b8108.zip |
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
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions