Add <cstdio> include where needed by gcc-4.4.

Patch by Samuel Tardieu.

llvm-svn: 57291
This commit is contained in:
Duncan Sands 2008-10-08 07:23:46 +00:00
parent 9b1300ba55
commit 26ff6f9c54
10 changed files with 10 additions and 0 deletions

View 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>

View File

@ -18,6 +18,7 @@
#include <map>
#include <vector>
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace llvm;

View File

@ -13,6 +13,7 @@
#include "llvm/System/DynamicLibrary.h"
#include "llvm/Config/config.h"
#include <cstdio>
#include <cstring>
#include <map>

View File

@ -18,6 +18,7 @@
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "PIC16GenInstrInfo.inc"
#include <cstdio>
using namespace llvm;

View 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)

View 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");

View 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;

View 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;

View 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.

View File

@ -17,6 +17,7 @@
#include <ostream>
#include "llvm/Config/config.h"
#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace llvm;