summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/ToolRunner.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-05-05 18:35:36 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-05-05 18:35:36 +0000
commit127df07e56a37ac9eb713374ebb5c97d73afb48c (patch)
treee82a5ac1703a5b50e1c677d8334a9b553881e888 /llvm/tools/bugpoint/ToolRunner.cpp
parent3baaffba6bc38fa4865341fdf8cde333dc66d249 (diff)
downloadbcm5719-llvm-127df07e56a37ac9eb713374ebb5c97d73afb48c.tar.gz
bcm5719-llvm-127df07e56a37ac9eb713374ebb5c97d73afb48c.zip
bugpoint for jit should just ignore GCC arguments.
llvm-svn: 70988
Diffstat (limited to 'llvm/tools/bugpoint/ToolRunner.cpp')
-rw-r--r--llvm/tools/bugpoint/ToolRunner.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/tools/bugpoint/ToolRunner.cpp b/llvm/tools/bugpoint/ToolRunner.cpp
index 7c368e097ff..978e60bed38 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<const char*> 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<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());
OpenPOWER on IntegriCloud