#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"
}
}
-
-
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];
#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>
#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");
#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>
#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>
#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");