[llvm-commits] [llvm] r51926 - in /llvm/trunk: lib/Analysis/ValueTracking.cpp utils/TableGen/LLVMCConfigurationEmitter.cpp

Chris Lattner sabre at nondot.org
Tue Jun 3 21:46:14 PDT 2008


Author: lattner
Date: Tue Jun  3 23:46:14 2008
New Revision: 51926

URL: http://llvm.org/viewvc/llvm-project?rev=51926&view=rev
Log:
Add #includes required by GCC 4.3, thanks for Zhongxing Xu
for reporting this.

Modified:
    llvm/trunk/lib/Analysis/ValueTracking.cpp
    llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp

Modified: llvm/trunk/lib/Analysis/ValueTracking.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ValueTracking.cpp?rev=51926&r1=51925&r2=51926&view=diff

==============================================================================
--- llvm/trunk/lib/Analysis/ValueTracking.cpp (original)
+++ llvm/trunk/lib/Analysis/ValueTracking.cpp Tue Jun  3 23:46:14 2008
@@ -19,6 +19,7 @@
 #include "llvm/Target/TargetData.h"
 #include "llvm/Support/GetElementPtrTypeIterator.h"
 #include "llvm/Support/MathExtras.h"
+#include <cstring>
 using namespace llvm;
 
 /// getOpcode - If this is an Instruction or a ConstantExpr, return the

Modified: llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp?rev=51926&r1=51925&r2=51926&view=diff

==============================================================================
--- llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp Tue Jun  3 23:46:14 2008
@@ -20,13 +20,12 @@
 #include "llvm/ADT/StringMap.h"
 #include "llvm/ADT/StringSet.h"
 #include "llvm/Support/Streams.h"
-
 #include <algorithm>
 #include <cassert>
 #include <functional>
 #include <stdexcept>
 #include <string>
-
+#include <typeinfo>
 using namespace llvm;
 
 namespace {





More information about the llvm-commits mailing list