[LLVMdev] LLVM 2.6 Branch Fails to Compile

John Criswell criswell at cs.uiuc.edu
Tue Sep 8 08:32:04 PDT 2009


Dear All,

The LLVM 2.6 Release Branch doesn't compile for me on Mac OS X.  The
following patch seems to fix it (it adds a missing include file to get
WeakVH defined).

Has anyone else seen this breakage, or is it possible that I've got the
wrong branch checked out?

-- John T.

Index: lib/Transforms/Scalar/DeadStoreElimination.cpp
===================================================================
--- lib/Transforms/Scalar/DeadStoreElimination.cpp      (revision 81219)
+++ lib/Transforms/Scalar/DeadStoreElimination.cpp      (working copy)
@@ -30,6 +30,8 @@
 #include "llvm/Target/TargetData.h"
 #include "llvm/Transforms/Utils/Local.h"
 #include "llvm/Support/Compiler.h"
+#include "llvm/Support/ValueHandle.h"
+
 using namespace llvm;

 STATISTIC(NumFastStores, "Number of stores deleted");





More information about the llvm-dev mailing list