diff options
| author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-06-06 23:10:56 +0000 |
|---|---|---|
| committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-06-06 23:10:56 +0000 |
| commit | f04823af30ecc5607e63540c9a6fd8979b1080ee (patch) | |
| tree | 15f377bdb30b4820863cfef6a6d1f24b2e5f5945 /llvm/tools/bugpoint/ToolRunner.cpp | |
| parent | 85703e3796dcf3530b00dcfda842322f050f4a08 (diff) | |
| download | bcm5719-llvm-f04823af30ecc5607e63540c9a6fd8979b1080ee.tar.gz bcm5719-llvm-f04823af30ecc5607e63540c9a6fd8979b1080ee.zip | |
Fix bugpoint to run -llc-safe with -Xlinker.
llvm-svn: 37483
Diffstat (limited to 'llvm/tools/bugpoint/ToolRunner.cpp')
| -rw-r--r-- | llvm/tools/bugpoint/ToolRunner.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/bugpoint/ToolRunner.cpp b/llvm/tools/bugpoint/ToolRunner.cpp index cc726676a31..163c36acb05 100644 --- a/llvm/tools/bugpoint/ToolRunner.cpp +++ b/llvm/tools/bugpoint/ToolRunner.cpp @@ -555,6 +555,8 @@ int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType, GCCArgs.push_back(fileType == AsmFile ? "assembler" : "c"); GCCArgs.push_back("-fno-strict-aliasing"); GCCArgs.push_back(InputFile.c_str()); // Specify the input filename. + GCCArgs.push_back("-x"); + GCCArgs.push_back("none"); #if defined(sparc) || defined(__sparc__) || defined(__sparcv9) GCCArgs.push_back("-G"); // Compile a shared library, `-G' for Sparc #elif defined(__APPLE__) |

