about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-03-10 19:00:12 +0100
committerGitHub <noreply@github.com>2022-03-10 19:00:12 +0100
commit07e4fbde5a3c0e4972e056ff0ddf48c1aa743123 (patch)
tree50fa030a791eae1815194f2d6631c6ec08888de2 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentaf35dc2a959ca98af1a9d8a329b3fce6c7dd69a7 (diff)
parent185e3b95ca198ec10e6777d31e2c8d92c43f2ce2 (diff)
downloadrust-07e4fbde5a3c0e4972e056ff0ddf48c1aa743123.tar.gz
rust-07e4fbde5a3c0e4972e056ff0ddf48c1aa743123.zip
Rollup merge of #94809 - durin42:llvm-15-modulepass, r=nikic
RustWrapper: add missing include

This is required after LLVM change 3c4410dfcaaf (aka
https://reviews.llvm.org/D121168) did some includes cleanup.

r? nikic
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"