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
This commit is contained in:
Chris Lattner 2010-01-21 21:29:25 +00:00
parent 9889b4be04
commit 24716b6c63
1 changed files with 1 additions and 1 deletions

View File

@ -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"