# HG changeset patch # User Benjamin Kramer # Date 1247681082 -7200 # Node ID ba2a5d2fe748e383d412773dce6115076e3b1f90 # Parent 1e7a09548e671d20f62416cb45cc0096fd70a31f raw_fd_ostream takes a force parameter now Build fix for LLVM 75801. diff -r 1e7a09548e67 -r ba2a5d2fe748 gen/toobj.cpp --- a/gen/toobj.cpp Tue Jul 14 23:06:31 2009 +0200 +++ b/gen/toobj.cpp Wed Jul 15 20:04:42 2009 +0200 @@ -261,7 +261,7 @@ 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);