From 127df07e56a37ac9eb713374ebb5c97d73afb48c Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Tue, 5 May 2009 18:35:36 +0000 Subject: [PATCH] bugpoint for jit should just ignore GCC arguments. llvm-svn: 70988 --- llvm/tools/bugpoint/ToolRunner.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/llvm/tools/bugpoint/ToolRunner.cpp b/llvm/tools/bugpoint/ToolRunner.cpp index 7c368e097ff2..978e60bed38a 100644 --- a/llvm/tools/bugpoint/ToolRunner.cpp +++ b/llvm/tools/bugpoint/ToolRunner.cpp @@ -140,9 +140,6 @@ int LLI::ExecuteProgram(const std::string &Bitcode, throw ToolExecutionError("LLI currently does not support " "loading shared libraries."); - if (!GCCArgs.empty()) - throw ToolExecutionError("LLI currently does not support " - "GCC Arguments."); std::vector LLIArgs; LLIArgs.push_back(LLIPath.c_str()); LLIArgs.push_back("-force-interpreter=true"); @@ -409,8 +406,6 @@ int JIT::ExecuteProgram(const std::string &Bitcode, const std::vector &SharedLibs, unsigned Timeout, unsigned MemoryLimit) { - if (!GCCArgs.empty()) - throw ToolExecutionError("JIT does not support GCC Arguments."); // Construct a vector of parameters, incorporating those from the command-line std::vector JITArgs; JITArgs.push_back(LLIPath.c_str());