[llvm] r306028 - [ThinLTO] Remove unnecessary include of Linker.h (NFC)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 09:18:49 PDT 2017


Author: tejohnson
Date: Thu Jun 22 11:18:48 2017
New Revision: 306028

URL: http://llvm.org/viewvc/llvm-project?rev=306028&view=rev
Log:
[ThinLTO] Remove unnecessary include of Linker.h (NFC)

The ModuleLinker is no longer used by ThinLTO, so this is not needed.

Patch by Benoit Belley <Benoit.Belley at autodesk.com>

Modified:
    llvm/trunk/lib/LTO/ThinLTOCodeGenerator.cpp

Modified: llvm/trunk/lib/LTO/ThinLTOCodeGenerator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/LTO/ThinLTOCodeGenerator.cpp?rev=306028&r1=306027&r2=306028&view=diff
==============================================================================
--- llvm/trunk/lib/LTO/ThinLTOCodeGenerator.cpp (original)
+++ llvm/trunk/lib/LTO/ThinLTOCodeGenerator.cpp Thu Jun 22 11:18:48 2017
@@ -32,7 +32,6 @@
 #include "llvm/IR/Verifier.h"
 #include "llvm/IRReader/IRReader.h"
 #include "llvm/LTO/LTO.h"
-#include "llvm/Linker/Linker.h"
 #include "llvm/MC/SubtargetFeature.h"
 #include "llvm/Object/IRObjectFile.h"
 #include "llvm/Support/CachePruning.h"




More information about the llvm-commits mailing list