chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / libllvm / 0001-Transforms-Add-missing-header-for-InstructionCombini.patch
1 From 7c9054610e354340f9474dcd13a927f929912d1d Mon Sep 17 00:00:00 2001
2 From: Eugene Zelenko <eugene.zelenko@gmail.com>
3 Date: Tue, 6 Mar 2018 23:06:13 +0000
4 Subject: [PATCH] [Transforms] Add missing header for InstructionCombining.cpp,
5  in order to export LLVMInitializeInstCombine as extern "C". Fixes PR35947.
6
7 Patch by Brenton Bostick.
8
9 Differential revision: https://reviews.llvm.org/D44140
10
11
12 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326843 91177308-0d34-0410-b5e6-96231b3b80d8
13 ---
14  lib/Transforms/InstCombine/InstructionCombining.cpp | 1 +
15  1 file changed, 1 insertion(+)
16
17 diff --git a/lib/Transforms/InstCombine/InstructionCombining.cpp b/lib/Transforms/InstCombine/InstructionCombining.cpp
18 index a3b2fe9..7ec7343 100644
19 --- a/lib/Transforms/InstCombine/InstructionCombining.cpp
20 +++ b/lib/Transforms/InstCombine/InstructionCombining.cpp
21 @@ -34,6 +34,7 @@
22  //===----------------------------------------------------------------------===//
23  
24  #include "InstCombineInternal.h"
25 +#include "llvm-c/Initialization.h"
26  #include "llvm/ADT/APInt.h"
27  #include "llvm/ADT/ArrayRef.h"
28  #include "llvm/ADT/DenseMap.h"
29 -- 
30 1.8.3.1
31