mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-25 23:06:41 +00:00
Without this option, the -run-llc mode does not work with shared objects at
all, making it pointless for use with the code generator debugger. With it, it works like a charm. llvm-svn: 9245
This commit is contained in:
parent
e7ba106c53
commit
27798b47fb
@ -289,6 +289,7 @@ int GCC::ExecuteProgram(const std::string &ProgramFile,
|
||||
GCCArgs.push_back(OutputBinary.c_str()); // Output to the right file...
|
||||
GCCArgs.push_back("-lm"); // Hard-code the math library...
|
||||
GCCArgs.push_back("-O2"); // Optimize the program a bit...
|
||||
GCCArgs.push_back("-Wl,-R."); // Search this dir for .so files
|
||||
GCCArgs.push_back(0); // NULL terminator
|
||||
|
||||
std::cout << "<gcc>" << std::flush;
|
||||
|
Loading…
x
Reference in New Issue
Block a user