]> granicus.if.org Git - llvm/commitdiff
More accurate header inclusions. NFC.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 28 Mar 2017 23:35:34 +0000 (23:35 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 28 Mar 2017 23:35:34 +0000 (23:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298960 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/LTO/LTO.h
lib/LTO/LTO.cpp
lib/LTO/LTOBackend.cpp
tools/gold/gold-plugin.cpp
tools/llvm-lto2/llvm-lto2.cpp

index 57b220fe733c705f18f4d2e24bcba413ff4fd045..2020d613f3eec435a4b1d73de6f4d7ec51432015 100644 (file)
@@ -24,7 +24,7 @@
 #include "llvm/IR/ModuleSummaryIndex.h"
 #include "llvm/LTO/Config.h"
 #include "llvm/Linker/IRMover.h"
-#include "llvm/Object/IRObjectFile.h"
+#include "llvm/Object/ModuleSymbolTable.h"
 #include "llvm/Support/Error.h"
 #include "llvm/Support/ToolOutputFile.h"
 #include "llvm/Support/thread.h"
index de02de9d6145795eb02d74cf5ad62ef45282f3c7..f3d258e6c259bd16710a8bf06fd27af88c9fbb84 100644 (file)
@@ -25,6 +25,7 @@
 #include "llvm/IR/Metadata.h"
 #include "llvm/LTO/LTOBackend.h"
 #include "llvm/Linker/IRMover.h"
+#include "llvm/Object/IRObjectFile.h"
 #include "llvm/Object/ModuleSummaryIndexObjectFile.h"
 #include "llvm/Support/Error.h"
 #include "llvm/Support/ManagedStatic.h"
index dcf48e9837bec38d9d150da612eba341d42f5f49..4bd251f727a4353da699102e9c1ee4e0b5bdac18 100644 (file)
@@ -27,6 +27,7 @@
 #include "llvm/LTO/LTO.h"
 #include "llvm/LTO/legacy/UpdateCompilerUsed.h"
 #include "llvm/MC/SubtargetFeature.h"
+#include "llvm/Object/ModuleSymbolTable.h"
 #include "llvm/Passes/PassBuilder.h"
 #include "llvm/Support/Error.h"
 #include "llvm/Support/FileSystem.h"
index 52d352f4bc766c671688bb2103ab026053ea232d..8c3fa42981fe8dc8553719b09cef54d870e12f68 100644 (file)
@@ -21,7 +21,9 @@
 #include "llvm/IR/DiagnosticPrinter.h"
 #include "llvm/LTO/Caching.h"
 #include "llvm/LTO/LTO.h"
+#include "llvm/Object/Error.h"
 #include "llvm/Support/CommandLine.h"
+#include "llvm/Support/FileSystem.h"
 #include "llvm/Support/ManagedStatic.h"
 #include "llvm/Support/MemoryBuffer.h"
 #include "llvm/Support/Path.h"
index ce0f4b98425582a669202652c0ae669695953a6e..b5b29623ab5a003df02e9056fe2fed9197d81e8d 100644 (file)
 #include "llvm/IR/DiagnosticPrinter.h"
 #include "llvm/LTO/LTO.h"
 #include "llvm/Support/CommandLine.h"
+#include "llvm/Support/FileSystem.h"
 #include "llvm/Support/TargetSelect.h"
 #include "llvm/Support/Threading.h"
 
 using namespace llvm;
 using namespace lto;
-using namespace object;
 
 static cl::opt<char>
     OptLevel("O", cl::desc("Optimization level. [-O0, -O1, -O2, or -O3] "