diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-06-09 21:31:53 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-06-09 21:31:53 +0000 |
| commit | 572e78c2f9227fd0595ed9a36a41a1a2bccab1ad (patch) | |
| tree | 790f1c59c2f70a1ba7848f773f1adeb1a125a731 | |
| parent | 09cf82992bae128cd4fce5093b40d6a56716e941 (diff) | |
| download | bcm5719-llvm-572e78c2f9227fd0595ed9a36a41a1a2bccab1ad.tar.gz bcm5719-llvm-572e78c2f9227fd0595ed9a36a41a1a2bccab1ad.zip | |
After telling GCC to type of the input file with -x asm/-x c, switch back to
-x none, to not foul up autodetection of .a file or .dylibs.
llvm-svn: 28741
| -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 37f080ab9c1..7a90efe2108 100644 --- a/llvm/tools/bugpoint/ToolRunner.cpp +++ b/llvm/tools/bugpoint/ToolRunner.cpp @@ -405,6 +405,8 @@ int GCC::ExecuteProgram(const std::string &ProgramFile, #endif } GCCArgs.push_back(ProgramFile.c_str()); // Specify the input filename... + GCCArgs.push_back("-x"); + GCCArgs.push_back("none"); GCCArgs.push_back("-o"); sys::Path OutputBinary (ProgramFile+".gcc.exe"); OutputBinary.makeUnique(); |

