From 8d0e1bcc921c942e979b0925051c663590bd618f Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Thu, 29 Apr 2010 23:37:44 +0000 Subject: [PATCH] The llc -f flag was removed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102670 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/bugpoint/Miscompilation.cpp | 2 +- tools/bugpoint/ToolRunner.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index 6af1f6a57ee..45bb745a9ac 100644 --- a/tools/bugpoint/Miscompilation.cpp +++ b/tools/bugpoint/Miscompilation.cpp @@ -1000,7 +1000,7 @@ bool BugDriver::debugCodeGenerator(std::string *Error) { if (isExecutingJIT()) { outs() << " lli -load " << SharedObject << " " << TestModuleBC.str(); } else { - outs() << " llc -f " << TestModuleBC.str() << " -o " << TestModuleBC.str() + outs() << " llc " << TestModuleBC.str() << " -o " << TestModuleBC.str() << ".s\n"; outs() << " gcc " << SharedObject << " " << TestModuleBC.str() << ".s -o " << TestModuleBC.str() << ".exe"; diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp index 9c8c2f92d3b..7ade7784023 100644 --- a/tools/bugpoint/ToolRunner.cpp +++ b/tools/bugpoint/ToolRunner.cpp @@ -546,7 +546,6 @@ GCC::FileType CBE::OutputCode(const std::string &Bitcode, LLCArgs.push_back("-o"); LLCArgs.push_back(OutputCFile.c_str()); // Output to the C file LLCArgs.push_back("-march=c"); // Output C language - LLCArgs.push_back("-f"); // Overwrite as necessary... LLCArgs.push_back(Bitcode.c_str()); // This is the input bitcode LLCArgs.push_back(0); -- 2.34.1