summaryrefslogtreecommitdiff
path: root/lib/LTO/LTOCodeGenerator.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-01-07 21:19:40 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-01-07 21:19:40 +0000
commitb56c57bcbb8b87dca05a18c284155fa75285470b (patch)
treebb3abd15165bc10e94cd127137c15fc1bc02cab7 /lib/LTO/LTOCodeGenerator.cpp
parent7e889af76814df67ef912b95ada7ac0b1ebfb7e4 (diff)
downloadllvm-b56c57bcbb8b87dca05a18c284155fa75285470b.tar.gz
llvm-b56c57bcbb8b87dca05a18c284155fa75285470b.tar.bz2
llvm-b56c57bcbb8b87dca05a18c284155fa75285470b.tar.xz
Move the llvm mangler to lib/IR.
This makes it available to tools that don't link with target (like llvm-ar). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/LTO/LTOCodeGenerator.cpp')
-rw-r--r--lib/LTO/LTOCodeGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/LTO/LTOCodeGenerator.cpp b/lib/LTO/LTOCodeGenerator.cpp
index ff7761c4e3..0a375c89ca 100644
--- a/lib/LTO/LTOCodeGenerator.cpp
+++ b/lib/LTO/LTOCodeGenerator.cpp
@@ -23,6 +23,7 @@
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/LLVMContext.h"
+#include "llvm/IR/Mangler.h"
#include "llvm/IR/Module.h"
#include "llvm/InitializePasses.h"
#include "llvm/LTO/LTOModule.h"
@@ -41,7 +42,6 @@
#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/ToolOutputFile.h"
#include "llvm/Support/system_error.h"
-#include "llvm/Target/Mangler.h"
#include "llvm/Target/TargetLibraryInfo.h"
#include "llvm/Target/TargetLowering.h"
#include "llvm/Target/TargetOptions.h"