summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit24716b6c63a81ddfe2154c93bfb7a019a60e9a4d (patch)
tree05129cb0b0ba41ca98c8439324d693d514b13fa3 /llvm/lib/Transforms/Utils/ValueMapper.cpp
parent9889b4be04cb1adc0ff0f1ef05e51bc3cadcf807 (diff)
downloadbcm5719-llvm-24716b6c63a81ddfe2154c93bfb7a019a60e9a4d.tar.gz
bcm5719-llvm-24716b6c63a81ddfe2154c93bfb7a019a60e9a4d.zip
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. llvm-svn: 94103
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/ValueMapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/ValueMapper.cpp b/llvm/lib/Transforms/Utils/ValueMapper.cpp
index 399021ce6c0..a6e6701d073 100644
--- a/llvm/lib/Transforms/Utils/ValueMapper.cpp
+++ b/llvm/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"
OpenPOWER on IntegriCloud