[PATCH] D19982: FileOutputBuffer : Fix undefined behavior on windows

Shankar Easwaran via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 15:16:07 PDT 2016


shankare added a comment.

I was trying to debug a problem with the usage of FileOutputBuffer where the memory contents are not being synced to disk. I traced every call in FileOutputBuffer and none of the calls return an error, but the file is not synced. This happens on windows systems with FAST IO enabled. Resizing the underlying file makes the problem disappear.


Repository:
  rL LLVM

http://reviews.llvm.org/D19982





More information about the llvm-commits mailing list