raw_fd_ostream takes a force parameter now

Build fix for LLVM 75801.
This commit is contained in:
Benjamin Kramer 2009-07-15 20:04:42 +02:00
parent 23b83c4d7b
commit 03020aea39

View file

@ -261,7 +261,7 @@ void writeModule(llvm::Module* m, std::string filename)
Logger::println("Writing native asm to: %s\n", spath.c_str());
std::string err;
{
llvm::raw_fd_ostream out(spath.c_str(), false, err);
llvm::raw_fd_ostream out(spath.c_str(), false, true, err);
if (err.empty())
{
write_asm_to_file(*gTargetMachine, *m, out);