diff options
author | Thomas Munro <tmunro@postgresql.org> | 2022-10-19 22:38:58 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2022-10-19 22:44:53 +1300 |
commit | aa34bc4e2bc8d13efb38b349f39b0f3b04883ffb (patch) | |
tree | 6bab7a88df255499d5ee62de72ad551bd157d555 /src/backend/jit/llvm/llvmjit_inline.cpp | |
parent | 44efd345c09311eb63cd1573827b4177fde6aa5c (diff) | |
download | postgresql-aa34bc4e2bc8d13efb38b349f39b0f3b04883ffb.tar.gz postgresql-aa34bc4e2bc8d13efb38b349f39b0f3b04883ffb.zip |
Track LLVM 15 changes.
Per https://llvm.org/docs/OpaquePointers.html, support for non-opaque
pointers still exists and we can request that on our context. We have
until LLVM 16 to move to opaque pointers, a much larger change.
Back-patch to 11, where LLVM support arrived.
Author: Thomas Munro <thomas.munro@gmail.com>
Author: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CAMHz58Sf_xncdyqsekoVsNeKcruKootLtVH6cYXVhhUR1oKPCg%40mail.gmail.com
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_inline.cpp')
-rw-r--r-- | src/backend/jit/llvm/llvmjit_inline.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/jit/llvm/llvmjit_inline.cpp b/src/backend/jit/llvm/llvmjit_inline.cpp index 2d013b78769..123c4330e28 100644 --- a/src/backend/jit/llvm/llvmjit_inline.cpp +++ b/src/backend/jit/llvm/llvmjit_inline.cpp @@ -62,6 +62,7 @@ extern "C" #include <llvm/IR/ModuleSummaryIndex.h> #include <llvm/Linker/IRMover.h> #include <llvm/Support/ManagedStatic.h> +#include <llvm/Support/MemoryBuffer.h> /* |