[llvm-commits] [llvm] r94103 - /llvm/trunk/lib/Transforms/Utils/ValueMapper.cpp

Chris Lattner sabre at nondot.org
Thu Jan 21 13:29:25 PST 2010


Author: lattner
Date: Thu Jan 21 15:29:25 2010
New Revision: 94103

URL: http://llvm.org/viewvc/llvm-project?rev=94103&view=rev
Log:
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.


Modified:
    llvm/trunk/lib/Transforms/Utils/ValueMapper.cpp

Modified: llvm/trunk/lib/Transforms/Utils/ValueMapper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/ValueMapper.cpp?rev=94103&r1=94102&r2=94103&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Utils/ValueMapper.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/ValueMapper.cpp Thu Jan 21 15:29:25 2010
@@ -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"





More information about the llvm-commits mailing list