mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-04 08:37:45 +00:00
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
This commit is contained in:
parent
ef1840173c
commit
26edc21b1b
@ -140,9 +140,6 @@ int LLI::ExecuteProgram(const std::string &Bitcode,
|
|||||||
throw ToolExecutionError("LLI currently does not support "
|
throw ToolExecutionError("LLI currently does not support "
|
||||||
"loading shared libraries.");
|
"loading shared libraries.");
|
||||||
|
|
||||||
if (!GCCArgs.empty())
|
|
||||||
throw ToolExecutionError("LLI currently does not support "
|
|
||||||
"GCC Arguments.");
|
|
||||||
std::vector<const char*> LLIArgs;
|
std::vector<const char*> LLIArgs;
|
||||||
LLIArgs.push_back(LLIPath.c_str());
|
LLIArgs.push_back(LLIPath.c_str());
|
||||||
LLIArgs.push_back("-force-interpreter=true");
|
LLIArgs.push_back("-force-interpreter=true");
|
||||||
@ -409,8 +406,6 @@ int JIT::ExecuteProgram(const std::string &Bitcode,
|
|||||||
const std::vector<std::string> &SharedLibs,
|
const std::vector<std::string> &SharedLibs,
|
||||||
unsigned Timeout,
|
unsigned Timeout,
|
||||||
unsigned MemoryLimit) {
|
unsigned MemoryLimit) {
|
||||||
if (!GCCArgs.empty())
|
|
||||||
throw ToolExecutionError("JIT does not support GCC Arguments.");
|
|
||||||
// Construct a vector of parameters, incorporating those from the command-line
|
// Construct a vector of parameters, incorporating those from the command-line
|
||||||
std::vector<const char*> JITArgs;
|
std::vector<const char*> JITArgs;
|
||||||
JITArgs.push_back(LLIPath.c_str());
|
JITArgs.push_back(LLIPath.c_str());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user