summaryrefslogtreecommitdiff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorAugie Fackler <augie@google.com>2022-03-10 11:16:33 -0500
committerAugie Fackler <augie@google.com>2022-03-10 11:16:33 -0500
commit185e3b95ca198ec10e6777d31e2c8d92c43f2ce2 (patch)
treeb63015278fcbc4025b707efaf0d8d1efb572b8ed /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentba14a836c7038da21f5e102aacc7e6d5964f79a6 (diff)
downloadrust-185e3b95ca198ec10e6777d31e2c8d92c43f2ce2.tar.gz
RustWrapper: add missing include
This is required after LLVM change 3c4410dfcaaf (aka https://reviews.llvm.org/D121168) did some includes cleanup.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
index ef6c9ef6627..51739df067f 100644
--- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
@@ -9,6 +9,7 @@
#include "llvm/Object/Archive.h"
#include "llvm/Object/COFFImportFile.h"
#include "llvm/Object/ObjectFile.h"
+#include "llvm/Pass.h"
#include "llvm/Bitcode/BitcodeWriterPass.h"
#include "llvm/Support/Signals.h"
#include "llvm/ADT/Optional.h"