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