summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-10-08 07:23:46 +0000
committerDuncan Sands <baldrick@free.fr>2008-10-08 07:23:46 +0000
commit26ff6f9c5414cd5e1d6693bb481e0c45d648bde4 (patch)
tree8ee419dea770f5b5ffb7f4458c5897cd178996aa
parent9b1300ba551c4d01130dc969d74017d28ecfac03 (diff)
downloadbcm5719-llvm-26ff6f9c5414cd5e1d6693bb481e0c45d648bde4.tar.gz
bcm5719-llvm-26ff6f9c5414cd5e1d6693bb481e0c45d648bde4.zip
Add <cstdio> include where needed by gcc-4.4.
Patch by Samuel Tardieu. llvm-svn: 57291
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp1
-rw-r--r--llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp1
-rw-r--r--llvm/lib/System/DynamicLibrary.cpp1
-rw-r--r--llvm/lib/Target/PIC16/PIC16InstrInfo.cpp1
-rw-r--r--llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp1
-rw-r--r--llvm/lib/Transforms/Scalar/GVN.cpp1
-rw-r--r--llvm/lib/Transforms/Utils/UnrollLoop.cpp1
-rw-r--r--llvm/lib/VMCore/PassManager.cpp1
-rw-r--r--llvm/utils/TableGen/InstrEnumEmitter.cpp1
-rw-r--r--llvm/utils/TableGen/TGLexer.cpp1
10 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
index 684d7db874c..66a26cff3c6 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
@@ -27,6 +27,7 @@
#include "llvm/Target/TargetData.h"
#include "llvm/Support/ManagedStatic.h"
#include <csignal>
+#include <cstdio>
#include <map>
#include <cmath>
#include <cstring>
diff --git a/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp b/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp
index 0ffc7799013..618f1442e54 100644
--- a/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp
+++ b/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp
@@ -18,6 +18,7 @@
#include <map>
#include <vector>
#include <cassert>
+#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace llvm;
diff --git a/llvm/lib/System/DynamicLibrary.cpp b/llvm/lib/System/DynamicLibrary.cpp
index 5e3b6cb5651..970266f3438 100644
--- a/llvm/lib/System/DynamicLibrary.cpp
+++ b/llvm/lib/System/DynamicLibrary.cpp
@@ -13,6 +13,7 @@
#include "llvm/System/DynamicLibrary.h"
#include "llvm/Config/config.h"
+#include <cstdio>
#include <cstring>
#include <map>
diff --git a/llvm/lib/Target/PIC16/PIC16InstrInfo.cpp b/llvm/lib/Target/PIC16/PIC16InstrInfo.cpp
index cc1cb88d97b..96858e3db42 100644
--- a/llvm/lib/Target/PIC16/PIC16InstrInfo.cpp
+++ b/llvm/lib/Target/PIC16/PIC16InstrInfo.cpp
@@ -18,6 +18,7 @@
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "PIC16GenInstrInfo.inc"
+#include <cstdio>
using namespace llvm;
diff --git a/llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp b/llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp
index b5b71e5a803..3bfa6d71910 100644
--- a/llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp
@@ -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)
diff --git a/llvm/lib/Transforms/Scalar/GVN.cpp b/llvm/lib/Transforms/Scalar/GVN.cpp
index 25b61c10957..0e1900cbe08 100644
--- a/llvm/lib/Transforms/Scalar/GVN.cpp
+++ b/llvm/lib/Transforms/Scalar/GVN.cpp
@@ -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");
diff --git a/llvm/lib/Transforms/Utils/UnrollLoop.cpp b/llvm/lib/Transforms/Utils/UnrollLoop.cpp
index a86306c9e4a..63493dc66a3 100644
--- a/llvm/lib/Transforms/Utils/UnrollLoop.cpp
+++ b/llvm/lib/Transforms/Utils/UnrollLoop.cpp
@@ -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;
diff --git a/llvm/lib/VMCore/PassManager.cpp b/llvm/lib/VMCore/PassManager.cpp
index e3d1c5364e9..ef90aace3da 100644
--- a/llvm/lib/VMCore/PassManager.cpp
+++ b/llvm/lib/VMCore/PassManager.cpp
@@ -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;
diff --git a/llvm/utils/TableGen/InstrEnumEmitter.cpp b/llvm/utils/TableGen/InstrEnumEmitter.cpp
index df07119944e..4b4791b6145 100644
--- a/llvm/utils/TableGen/InstrEnumEmitter.cpp
+++ b/llvm/utils/TableGen/InstrEnumEmitter.cpp
@@ -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.
diff --git a/llvm/utils/TableGen/TGLexer.cpp b/llvm/utils/TableGen/TGLexer.cpp
index a6de239e6f6..e7465de28a4 100644
--- a/llvm/utils/TableGen/TGLexer.cpp
+++ b/llvm/utils/TableGen/TGLexer.cpp
@@ -17,6 +17,7 @@
#include <ostream>
#include "llvm/Config/config.h"
#include <cctype>
+#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace llvm;
OpenPOWER on IntegriCloud