summaryrefslogtreecommitdiff
path: root/tools
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
commit26edc21b1b68f126928b20124b5fca14a28bd428 (patch)
treeb2e9876d823fc79f1bbfad55e1c49b94872e0d60 /tools
parentef1840173c6e7eadaac3e1bcb443088e49501816 (diff)
downloadllvm-26edc21b1b68f126928b20124b5fca14a28bd428.tar.gz
llvm-26edc21b1b68f126928b20124b5fca14a28bd428.tar.bz2
llvm-26edc21b1b68f126928b20124b5fca14a28bd428.tar.xz
bugpoint for jit should just ignore GCC arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70988 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/bugpoint/ToolRunner.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp
index 7c368e097f..978e60bed3 100644
--- a/tools/bugpoint/ToolRunner.cpp
+++ b/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());