diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-27 20:35:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-27 20:35:36 +0000 |
commit | cc21fa7b414db5f82a84ea74d579be1c8e66b6b5 (patch) | |
tree | 89500c86d33f88ad2344cc58ed1c3715b389a76e /llvm/tools/bugpoint/ExecutionDriver.cpp | |
parent | 2aed9ebdedaaec4c62a7cce6acbee1ad65af4efd (diff) | |
download | bcm5719-llvm-cc21fa7b414db5f82a84ea74d579be1c8e66b6b5.tar.gz bcm5719-llvm-cc21fa7b414db5f82a84ea74d579be1c8e66b6b5.zip |
Pass -Xlinker flags to gcc when it builds the shared object.
llvm-svn: 28939
Diffstat (limited to 'llvm/tools/bugpoint/ExecutionDriver.cpp')
-rw-r--r-- | llvm/tools/bugpoint/ExecutionDriver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/ExecutionDriver.cpp b/llvm/tools/bugpoint/ExecutionDriver.cpp index 5743804a146..453833eb8df 100644 --- a/llvm/tools/bugpoint/ExecutionDriver.cpp +++ b/llvm/tools/bugpoint/ExecutionDriver.cpp @@ -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. |