diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-21 21:29:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-21 21:29:25 +0000 |
commit | 839a0159c44e64503720b424dc386e4732f56ad0 (patch) | |
tree | dc3db73b000190d8aed5f79c4e6fa3ba462d1b4c | |
parent | 7bc3bcebb0c5842c353b290eb2ec56f9c88f6200 (diff) | |
download | external_llvm-839a0159c44e64503720b424dc386e4732f56ad0.zip external_llvm-839a0159c44e64503720b424dc386e4732f56ad0.tar.gz external_llvm-839a0159c44e64503720b424dc386e4732f56ad0.tar.bz2 |
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
-rw-r--r-- | lib/Transforms/Utils/ValueMapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/ValueMapper.cpp b/lib/Transforms/Utils/ValueMapper.cpp index 399021c..a6e6701 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" |