add missing header for InstructionCombining.cpp, in order to export
LLVMInitializeInstCombine as extern "C". ok brad@.
This commit is contained in:
parent
cf1fe34859
commit
ff301ce4b2
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.176 2018/05/07 06:42:54 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.177 2018/05/08 05:55:20 rpointel Exp $
|
||||
|
||||
# XXX: Remember to bump MODCLANG_VERSION in lang/clang/clang.port.mk when
|
||||
# updating this port.
|
||||
@ -18,7 +18,7 @@ DISTNAME = llvm-${LLVM_V}.src
|
||||
PKGNAME = llvm-${LLVM_V}
|
||||
PKGNAME-main = llvm-${LLVM_V}
|
||||
PKGNAME-python = py-llvm-${LLVM_V}
|
||||
REVISION-main = 1
|
||||
REVISION-main = 2
|
||||
CATEGORIES = devel
|
||||
DISTFILES = llvm-${LLVM_V}.src${EXTRACT_SUFX} \
|
||||
cfe-${LLVM_V}.src${EXTRACT_SUFX} \
|
||||
|
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-lib_Transforms_InstCombine_InstructionCombining_cpp,v 1.1 2018/05/08 05:55:20 rpointel Exp $
|
||||
|
||||
https://reviews.llvm.org/D44140
|
||||
https://bugs.llvm.org/show_bug.cgi?id=35947
|
||||
|
||||
Index: lib/Transforms/InstCombine/InstructionCombining.cpp
|
||||
--- lib/Transforms/InstCombine/InstructionCombining.cpp.orig
|
||||
+++ lib/Transforms/InstCombine/InstructionCombining.cpp
|
||||
@@ -34,6 +34,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "InstCombineInternal.h"
|
||||
+#include "llvm-c/Initialization.h"
|
||||
#include "llvm/ADT/APInt.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
Loading…
Reference in New Issue
Block a user