[llvm-commits] CVS: llvm/tools/lli/ExecutionEngine.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Aug 1 17:15:00 PDT 2003
Changes in directory llvm/tools/lli:
ExecutionEngine.cpp updated: 1.16 -> 1.17
---
Log message:
DEBUG got moved to Debug.h
---
Diffs of the changes:
Index: llvm/tools/lli/ExecutionEngine.cpp
diff -u llvm/tools/lli/ExecutionEngine.cpp:1.16 llvm/tools/lli/ExecutionEngine.cpp:1.17
--- llvm/tools/lli/ExecutionEngine.cpp:1.16 Fri Jul 18 13:33:38 2003
+++ llvm/tools/lli/ExecutionEngine.cpp Fri Aug 1 17:13:57 2003
@@ -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::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];
More information about the llvm-commits
mailing list