comparison gen/toobj.cpp @ 393:a3f3c2770a0d

Added bitcode filename to very verbose logging. Fixed -O<n> switches from llvm 2.4. Removed md5 from the kdevelop project filelist.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sat, 26 Jul 2008 15:02:57 +0200
parents 4d7495038ae8
children a34078905d01
comparison
equal deleted inserted replaced
392:869d08aaf336 393:a3f3c2770a0d
173 llpath = LLPath(llfile->name->toChars()); 173 llpath = LLPath(llfile->name->toChars());
174 } 174 }
175 175
176 // write bytecode 176 // write bytecode
177 { 177 {
178 Logger::println("Writing LLVM bitcode\n"); 178 Logger::println("Writing LLVM bitcode to: %s\n", bcpath.c_str());
179 std::ofstream bos(bcpath.c_str(), std::ios::binary); 179 std::ofstream bos(bcpath.c_str(), std::ios::binary);
180 llvm::WriteBitcodeToFile(ir.module, bos); 180 llvm::WriteBitcodeToFile(ir.module, bos);
181 } 181 }
182 182
183 // disassemble ? 183 // disassemble ?