about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-11-03 21:09:01 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-11-04 16:35:39 +1100
commit920d2774ac92b102dedf07d04d5fd80214881699 (patch)
tree15e9c9683003c14980f0cdff959031c8fc1f31e2 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent44a056a50b5eecad9e16188d18ea55011c153e7a (diff)
downloadrust-920d2774ac92b102dedf07d04d5fd80214881699.tar.gz
rust-920d2774ac92b102dedf07d04d5fd80214881699.zip
Trim and tidy includes in `rustc_llvm`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/Linker.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/Linker.cpp b/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
index f43128ed550..fdf54e2d9b4 100644
--- a/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
@@ -1,8 +1,10 @@
-#include "llvm/Linker/Linker.h"
-#include "SuppressLLVMWarnings.h"
-
 #include "LLVMWrapper.h"
 
+#include "llvm/Bitcode/BitcodeReader.h"
+#include "llvm/IR/Module.h"
+#include "llvm/Linker/Linker.h"
+#include "llvm/Support/MemoryBuffer.h"
+
 using namespace llvm;
 
 struct RustLinker {