Add #includes required by GCC 4.3, thanks for Zhongxing Xu
authorChris Lattner <sabre@nondot.org>
Wed, 4 Jun 2008 04:46:14 +0000 (04:46 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 4 Jun 2008 04:46:14 +0000 (04:46 +0000)
for reporting this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51926 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ValueTracking.cpp
utils/TableGen/LLVMCConfigurationEmitter.cpp

index 67e4aad4fd5a6a981c9816a61ba88879a1f5888e..78a9c77c3fa6f989c565640dde6eb426747261d5 100644 (file)
@@ -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
index 94c52d108499741d1efed5515e41e800e17789d4..f30c6ee0a83bf4e78dc89eac1e09cf0f63091c73 100644 (file)
 #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 {