aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bugpoint/ToolRunner.cpp
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2007-06-06 23:10:56 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2007-06-06 23:10:56 +0000
commit497391ad8d35fd8dcf6b48f459c179e3db3d3c5c (patch)
tree184d21764bce3808c9643bd54c0ce9d134bfa890 /tools/bugpoint/ToolRunner.cpp
parent9613e871d26f123789d98c61879b4dbe944a6d31 (diff)
downloadexternal_llvm-497391ad8d35fd8dcf6b48f459c179e3db3d3c5c.zip
external_llvm-497391ad8d35fd8dcf6b48f459c179e3db3d3c5c.tar.gz
external_llvm-497391ad8d35fd8dcf6b48f459c179e3db3d3c5c.tar.bz2
Fix bugpoint to run -llc-safe with -Xlinker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/ToolRunner.cpp')
-rw-r--r--tools/bugpoint/ToolRunner.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp
index cc72667..163c36a 100644
--- a/tools/bugpoint/ToolRunner.cpp
+++ b/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__)