summaryrefslogtreecommitdiff
path: root/tools/lto
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-08-02 21:50:24 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-08-02 21:50:24 +0000
commit3d453ac1317f910b0589d87c061f056be29e36cd (patch)
tree95e08e13821efbe8953b7af089120f49698dbecd /tools/lto
parentfe1926e3518ca034e04cd307b15116aed6d21bc5 (diff)
downloadllvm-3d453ac1317f910b0589d87c061f056be29e36cd.tar.gz
llvm-3d453ac1317f910b0589d87c061f056be29e36cd.tar.bz2
llvm-3d453ac1317f910b0589d87c061f056be29e36cd.tar.xz
move PassManagerBuilder.h to IPO. This is a non intuitive place to put it,
but it solves a layering violation since things in Support are not supposed to use things in Transforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136726 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto')
-rw-r--r--tools/lto/LTOCodeGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp
index 1a8257ec64..00571bbd29 100644
--- a/tools/lto/LTOCodeGenerator.cpp
+++ b/tools/lto/LTOCodeGenerator.cpp
@@ -37,7 +37,6 @@
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/MemoryBuffer.h"
-#include "llvm/Support/PassManagerBuilder.h"
#include "llvm/Support/SystemUtils.h"
#include "llvm/Support/ToolOutputFile.h"
#include "llvm/Support/Host.h"
@@ -45,6 +44,7 @@
#include "llvm/Support/Signals.h"
#include "llvm/Support/system_error.h"
#include "llvm/Config/config.h"
+#include "llvm/Transforms/IPO/PassManagerBuilder.h"
#include <cstdlib>
#include <unistd.h>
#include <fcntl.h>