[PATCH] D39444: [Support] Make the default chunk size of raw_fd_ostream to 1 GiB.

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 31 06:27:18 PDT 2017


krytarowski added inline comments.


================
Comment at: llvm/lib/Support/raw_ostream.cpp:655
   seek(Offset);
   write(Ptr, Size);
   seek(Pos);
----------------
The same problem here. NetBSD disallows length larger than SSIZE_MAX and it will return EINVAL.


https://reviews.llvm.org/D39444





More information about the llvm-commits mailing list