Added bitcode filename to very verbose logging.

Fixed -O<n> switches from llvm 2.4.
Removed md5 from the kdevelop project filelist.
This commit is contained in:
Tomas Lindquist Olsen
2008-07-26 15:02:57 +02:00
parent 5ddcdea5f2
commit 70f16e36fb
3 changed files with 13 additions and 10 deletions

View File

@@ -175,7 +175,7 @@ void Module::genobjfile(int multiobj)
// write bytecode
{
Logger::println("Writing LLVM bitcode\n");
Logger::println("Writing LLVM bitcode to: %s\n", bcpath.c_str());
std::ofstream bos(bcpath.c_str(), std::ios::binary);
llvm::WriteBitcodeToFile(ir.module, bos);
}