llvm.org GIT mirror llvm / c2f500a
Don't flush the raw_ostream in llvm::WriteBitcodeToFile; it's at the wrong level. Clients which need to leave the stream open but which still require the bitcode bits to be on disk should call flush themselves. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104885 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 9 years ago
1 changed file(s) with 0 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
16641664 // Write the generated bitstream to "Out".
16651665 Out.write((char*)&Buffer.front(), Buffer.size());
1667 // Make sure it hits disk now.
1668 Out.flush();
16691666 }
16711668 /// WriteBitcodeToStream - Write the specified module to the specified output