Add <cstdio> include where needed by gcc-4.4.
authorDuncan Sands <baldrick@free.fr>
Wed, 8 Oct 2008 07:23:46 +0000 (07:23 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 8 Oct 2008 07:23:46 +0000 (07:23 +0000)
Patch by Samuel Tardieu.

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

lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
lib/ExecutionEngine/JIT/JITMemoryManager.cpp
lib/System/DynamicLibrary.cpp
lib/Target/PIC16/PIC16InstrInfo.cpp
lib/Target/PowerPC/PPCMachOWriterInfo.cpp
lib/Transforms/Scalar/GVN.cpp
lib/Transforms/Utils/UnrollLoop.cpp
lib/VMCore/PassManager.cpp
utils/TableGen/InstrEnumEmitter.cpp
utils/TableGen/TGLexer.cpp

index 684d7db874c0c0e8364825642143e8972fa2b106..66a26cff3c63a1ffce7440ec59780536ff88155b 100644 (file)
@@ -27,6 +27,7 @@
 #include "llvm/Target/TargetData.h"
 #include "llvm/Support/ManagedStatic.h"
 #include <csignal>
+#include <cstdio>
 #include <map>
 #include <cmath>
 #include <cstring>
index 0ffc7799013c2c06416da194421b15067d4b7e09..618f1442e54167ac33f257c275c7604ecbce1b0c 100644 (file)
@@ -18,6 +18,7 @@
 #include <map>
 #include <vector>
 #include <cassert>
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 using namespace llvm;
index 5e3b6cb56511aea80d05974569318f3f6245c9ff..970266f3438768e09c4a505725e116389d336e6d 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "llvm/System/DynamicLibrary.h"
 #include "llvm/Config/config.h"
+#include <cstdio>
 #include <cstring>
 #include <map>
 
index cc1cb88d97b2c8d7324ed024f3bbf5b2d5c804e5..96858e3db42ca8151a0cca6ec3808a3eff8e9c6d 100644 (file)
@@ -18,6 +18,7 @@
 #include "llvm/CodeGen/MachineFunction.h"
 #include "llvm/CodeGen/MachineInstrBuilder.h"
 #include "PIC16GenInstrInfo.inc"
+#include <cstdio>
 
 using namespace llvm;
 
index b5b71e5a80392b8f6bcc38603d979aa8875c2912..3bfa6d71910575d6709fbcb490abdf2b2b5eaa31 100644 (file)
@@ -16,6 +16,7 @@
 #include "PPCTargetMachine.h"
 #include "llvm/CodeGen/MachORelocation.h"
 #include "llvm/Support/OutputBuffer.h"
+#include <cstdio>
 using namespace llvm;
 
 PPCMachOWriterInfo::PPCMachOWriterInfo(const PPCTargetMachine &TM)
index 25b61c10957c9a57eb21bb39003cb4c9227b3bed..0e1900cbe0898c2bd6cd19281b2fedc9ca15feb6 100644 (file)
@@ -36,6 +36,7 @@
 #include "llvm/Support/Compiler.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Transforms/Utils/BasicBlockUtils.h"
+#include <cstdio>
 using namespace llvm;
 
 STATISTIC(NumGVNInstr, "Number of instructions deleted");
index a86306c9e4a2a41e861c59220ef602061b3416f5..63493dc66a311e3c74051529816ee93bc7d4a739 100644 (file)
@@ -27,6 +27,7 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/Transforms/Utils/Cloning.h"
 #include "llvm/Transforms/Utils/Local.h"
+#include <cstdio>
 
 using namespace llvm;
 
index e3d1c5364e95f5e8869e952a845a7c7528a8e7f0..ef90aace3dab03d3e07f5ff6bf435934f9c28fa3 100644 (file)
@@ -22,6 +22,7 @@
 #include "llvm/Analysis/Dominators.h"
 #include "llvm-c/Core.h"
 #include <algorithm>
+#include <cstdio>
 #include <vector>
 #include <map>
 using namespace llvm;
index df07119944e4c5979b9176277eec23b516b54906..4b4791b61458004e829d30e926c7a07e3b48997f 100644 (file)
@@ -15,6 +15,7 @@
 #include "InstrEnumEmitter.h"
 #include "CodeGenTarget.h"
 #include "Record.h"
+#include <cstdio>
 using namespace llvm;
 
 // runEnums - Print out enum values for all of the instructions.
index a6de239e6f6d78d52c7c2caedee3dafed764b63b..e7465de28a4d41059b84168ba94b2f60c794460c 100644 (file)
@@ -17,6 +17,7 @@
 #include <ostream>
 #include "llvm/Config/config.h"
 #include <cctype>
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 using namespace llvm;