From 2a7ed74d96168fe1c187fbaa0d74dc52974b6ecf Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 22 Jan 2018 17:28:09 -0800 Subject: [PATCH] llvm6: Missing include for LLVM 6 in PassWrapper.cpp Just bog-standard compile error fixed by adding some new header files --- src/rustllvm/PassWrapper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rustllvm/PassWrapper.cpp b/src/rustllvm/PassWrapper.cpp index b501f6150be..b2f1229891d 100644 --- a/src/rustllvm/PassWrapper.cpp +++ b/src/rustllvm/PassWrapper.cpp @@ -27,6 +27,7 @@ #if LLVM_VERSION_GE(6, 0) #include "llvm/CodeGen/TargetSubtargetInfo.h" +#include "llvm/IR/IntrinsicInst.h" #else #include "llvm/Target/TargetSubtargetInfo.h" #endif