summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LTO
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-03-23 23:58:19 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-03-23 23:58:19 +0000
commit6054e650ff0c56d6065b230a1e6ffe3be7f6235d (patch)
tree7c46986f46e8f213b508dce3b9cfdda66ea3cb7f /llvm/lib/LTO
parent4bb482eeac820a9e2d8505db8e93a59f4009b9cb (diff)
downloadbcm5719-llvm-6054e650ff0c56d6065b230a1e6ffe3be7f6235d.tar.gz
bcm5719-llvm-6054e650ff0c56d6065b230a1e6ffe3be7f6235d.zip
Move TargetLoweringObjectFile from CodeGen to Target to fix layering
It's implemented in Target & include from other Target headers, so the header should be in Target. llvm-svn: 328392
Diffstat (limited to 'llvm/lib/LTO')
-rw-r--r--llvm/lib/LTO/LTOModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTOModule.cpp b/llvm/lib/LTO/LTOModule.cpp
index 2b96356b51b..20fc0943539 100644
--- a/llvm/lib/LTO/LTOModule.cpp
+++ b/llvm/lib/LTO/LTOModule.cpp
@@ -15,7 +15,6 @@
#include "llvm/LTO/legacy/LTOModule.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Bitcode/BitcodeReader.h"
-#include "llvm/CodeGen/TargetLoweringObjectFile.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/LLVMContext.h"
@@ -38,6 +37,7 @@
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Support/TargetSelect.h"
+#include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/Transforms/Utils/GlobalStatus.h"
#include <system_error>
using namespace llvm;
OpenPOWER on IntegriCloud