[PATCH] D48948: Fix raw_fd_ostream::write_impl hang due to an infinite loop with large output

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 11 09:04:15 PDT 2018


ruiu added a comment.

Do we have to save the number of system calls if we have really huge (>2GiB) buffer? I'm thinking if we can always use 1GiB as the maximum write size. That should make code simpler and easy to maintain.


https://reviews.llvm.org/D48948





More information about the llvm-commits mailing list