DEBUG got moved to Debug.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7491 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-01 22:13:59 +00:00
parent 2dd93edfc2
commit c648dabf65
6 changed files with 7 additions and 7 deletions

View File

@ -11,6 +11,7 @@
#include "llvm/Constants.h"
#include "llvm/Module.h"
#include "llvm/Target/TargetData.h"
#include "Support/Debug.h"
#include "Support/Statistic.h"
#include "Config/dlfcn.h"
@ -295,13 +296,11 @@ void ExecutionEngine::InitializeMemory(const Constant *Init, void *Addr) {
}
}
void *ExecutionEngine::CreateArgv(const std::vector<std::string> &InputArgv) {
if (getTargetData().getPointerSize() == 8) { // 64 bit target?
PointerTy *Result = new PointerTy[InputArgv.size()+1];
DEBUG(std::cerr << "ARGV = " << (void*)Result << "\n");
for (unsigned i = 0; i < InputArgv.size(); ++i) {
unsigned Size = InputArgv[i].size()+1;
char *Dest = new char[Size];

View File

@ -12,6 +12,7 @@
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Module.h"
#include "Support/Debug.h"
#include "Support/Statistic.h"
#include <stdio.h>

View File

@ -6,7 +6,7 @@
#include "CodeEmitterGen.h"
#include "Record.h"
#include "Support/Statistic.h"
#include "Support/Debug.h"
void CodeEmitterGen::run(std::ostream &o) {
std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction");

View File

@ -21,7 +21,7 @@
#include "llvm/Transforms/Utils/Cloning.h"
#include "llvm/Transforms/Utils/Linker.h"
#include "Support/CommandLine.h"
#include "Support/Statistic.h"
#include "Support/Debug.h"
#include "Support/StringExtras.h"
#include <algorithm>
#include <set>

View File

@ -17,7 +17,7 @@ BUGPOINT NOTES:
#include "BugDriver.h"
#include "SystemUtils.h"
#include "Support/CommandLine.h"
#include "Support/Statistic.h"
#include "Support/Debug.h"
#include "Support/FileUtilities.h"
#include <fstream>
#include <iostream>

View File

@ -6,7 +6,7 @@
#include "CodeEmitterGen.h"
#include "Record.h"
#include "Support/Statistic.h"
#include "Support/Debug.h"
void CodeEmitterGen::run(std::ostream &o) {
std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction");