mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Pass -Xlinker flags to gcc when it builds the shared object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28939 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -288,7 +288,7 @@ std::string BugDriver::compileSharedObject(const std::string &BytecodeFile) {
|
||||
|
||||
std::string SharedObjectFile;
|
||||
if (gcc->MakeSharedObject(OutputCFile.toString(), GCC::CFile,
|
||||
SharedObjectFile))
|
||||
SharedObjectFile, AdditionalLinkerArgs))
|
||||
exit(1);
|
||||
|
||||
// Remove the intermediate C file
|
||||
@@ -308,7 +308,7 @@ bool BugDriver::diffProgram(const std::string &BytecodeFile,
|
||||
bool ProgramExitedNonzero;
|
||||
|
||||
// Execute the program, generating an output file...
|
||||
sys::Path Output (executeProgram("", BytecodeFile, SharedObject, 0,
|
||||
sys::Path Output(executeProgram("", BytecodeFile, SharedObject, 0,
|
||||
&ProgramExitedNonzero));
|
||||
|
||||
// If we're checking the program exit code, assume anything nonzero is bad.
|
||||
|
||||
Reference in New Issue
Block a user