[PATCH] D46516: [sanitizer] Simplify ThreadLister interface
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 7 16:32:35 PDT 2018
vitalybuka added inline comments.
================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:925
+
+ for (int i = 0;; ++i) {
+ read = internal_getdents(descriptor_, (struct linux_dirent *)buffer_.data(),
----------------
eugenis wrote:
> why not while(true) ?
Just at artifact of attemt to detect short read by number of iterations
Repository:
rL LLVM
https://reviews.llvm.org/D46516
More information about the llvm-commits
mailing list