[PATCH] D40121: [scudo] Make getNumberOfCPUs Fuchsia compliant v2
Kostya Kortchinsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 16 08:49:34 PST 2017
cryptoad added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_linux_libcdep.cc:584
+ buffer.size());
+ if (internal_iserror(bytes_read))
+ break;
----------------
Maybe `(internal_iserror(bytes_read) || !bytes_read)` to combine both breaks.
Repository:
rL LLVM
https://reviews.llvm.org/D40121
More information about the llvm-commits
mailing list