summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/ValueMapper.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-21 21:29:25 +0000
committerChris Lattner <sabre@nondot.org>2010-01-21 21:29:25 +0000
commit839a0159c44e64503720b424dc386e4732f56ad0 (patch)
treedc3db73b000190d8aed5f79c4e6fa3ba462d1b4c /lib/Transforms/Utils/ValueMapper.cpp
parent7bc3bcebb0c5842c353b290eb2ec56f9c88f6200 (diff)
downloadllvm-839a0159c44e64503720b424dc386e4732f56ad0.tar.gz
llvm-839a0159c44e64503720b424dc386e4732f56ad0.tar.bz2
llvm-839a0159c44e64503720b424dc386e4732f56ad0.tar.xz
It turns out that this #include is needed because otherwise
ValueMapper.cpp ends up calling an out of line __ZNK4llvm12PATypeHolder3getEv, which is a template and llvm-config determines arbitrarily to use the one in libipo. This sucks, but keeping the #include is a reasonable workaround. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94103 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/ValueMapper.cpp')
-rw-r--r--lib/Transforms/Utils/ValueMapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/ValueMapper.cpp b/lib/Transforms/Utils/ValueMapper.cpp
index 399021ce6c..a6e6701d07 100644
--- a/lib/Transforms/Utils/ValueMapper.cpp
+++ b/lib/Transforms/Utils/ValueMapper.cpp
@@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/Transforms/Utils/ValueMapper.h"
-#include "llvm/DerivedTypes.h"
+#include "llvm/Type.h"
#include "llvm/Constants.h"
#include "llvm/Function.h"
#include "llvm/Metadata.h"