[llvm-commits] [llvm] r70988 - /llvm/trunk/tools/bugpoint/ToolRunner.cpp

Evan Cheng evan.cheng at apple.com
Tue May 5 11:35:38 PDT 2009


Author: evancheng
Date: Tue May  5 13:35:36 2009
New Revision: 70988

URL: http://llvm.org/viewvc/llvm-project?rev=70988&view=rev
Log:
bugpoint for jit should just ignore GCC arguments.

Modified:
    llvm/trunk/tools/bugpoint/ToolRunner.cpp

Modified: llvm/trunk/tools/bugpoint/ToolRunner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/ToolRunner.cpp?rev=70988&r1=70987&r2=70988&view=diff

==============================================================================
--- llvm/trunk/tools/bugpoint/ToolRunner.cpp (original)
+++ llvm/trunk/tools/bugpoint/ToolRunner.cpp Tue May  5 13:35:36 2009
@@ -140,9 +140,6 @@
     throw ToolExecutionError("LLI currently does not support "
                              "loading shared libraries.");
 
-  if (!GCCArgs.empty())
-    throw ToolExecutionError("LLI currently does not support "
-                             "GCC Arguments.");
   std::vector<const char*> LLIArgs;
   LLIArgs.push_back(LLIPath.c_str());
   LLIArgs.push_back("-force-interpreter=true");
@@ -409,8 +406,6 @@
                         const std::vector<std::string> &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<const char*> JITArgs;
   JITArgs.push_back(LLIPath.c_str());





More information about the llvm-commits mailing list