From 920d2774ac92b102dedf07d04d5fd80214881699 Mon Sep 17 00:00:00 2001 From: Zalathar Date: Sun, 3 Nov 2024 21:09:01 +1100 Subject: Trim and tidy includes in `rustc_llvm` --- compiler/rustc_llvm/llvm-wrapper/Linker.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp') 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 { -- cgit 1.4.1-3-g733a5