]> git.pld-linux.org Git - packages/postgresql.git/blame - llvm11.patch
UP to 11.15.
[packages/postgresql.git] / llvm11.patch
CommitLineData
5e7e22ba
JP
1From c001c115bcb2accddc23a25c605886e01475db4f Mon Sep 17 00:00:00 2001
2From: Andres Freund <andres@anarazel.de>
3Date: Thu, 28 May 2020 15:08:12 -0700
4Subject: [PATCH] llvmjit: Fix building against LLVM 11 by removing unnecessary
5 include.
6
7LLVM has removed this header, in the branch that will become llvm
811. But as it turns out we didn't actually need it, so just remove it.
9
10Author: Jesse Zhang <sbjesse@gmail.com>
11Discussion: https://postgr.es/m/CAGf+fX7bvtP0YXMu7pOsu_NwhxW6dArTkxb=jt7M2-UJkyJ_3g@mail.gmail.com
12Backpatch: 11, where JIT support using llvm was introduced.
13---
14 src/backend/jit/llvm/llvmjit_inline.cpp | 1 -
15 1 file changed, 1 deletion(-)
16
17diff --git a/src/backend/jit/llvm/llvmjit_inline.cpp b/src/backend/jit/llvm/llvmjit_inline.cpp
18index aa0473dacd22..c489a632ff9e 100644
19--- a/src/backend/jit/llvm/llvmjit_inline.cpp
20+++ b/src/backend/jit/llvm/llvmjit_inline.cpp
21@@ -56,7 +56,6 @@ extern "C"
22 #include <llvm/Support/Error.h>
23 #endif
24 #include <llvm/IR/Attributes.h>
25-#include <llvm/IR/CallSite.h>
26 #include <llvm/IR/DebugInfo.h>
27 #include <llvm/IR/IntrinsicInst.h>
28 #include <llvm/IR/IRBuilder.h>
This page took 0.063326 seconds and 4 git commands to generate.