aboutsummaryrefslogtreecommitdiff
path: root/src/backend/jit/llvm/llvmjit_inline.cpp
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2022-10-19 22:32:14 +1300
committerThomas Munro <tmunro@postgresql.org>2022-10-19 22:32:14 +1300
commitd033f8f8bea9c7b5c4ae43a95b569ceccdaddd7a (patch)
treec6d10ee393c7bd2944f92fd3c7d4e1a54d257533 /src/backend/jit/llvm/llvmjit_inline.cpp
parent51683feb97c1cd324617837bda727b19989c7b53 (diff)
downloadpostgresql-d033f8f8bea9c7b5c4ae43a95b569ceccdaddd7a.tar.gz
postgresql-d033f8f8bea9c7b5c4ae43a95b569ceccdaddd7a.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.cpp1
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 9bb4b672a73..774d9e8b66d 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>
/*