[PATCH] D46618: [sanitizer] Cleanup ReadFileToVector and ReadFileToBuffer
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 8 18:17:39 PDT 2018
vitalybuka created this revision.
vitalybuka added a reviewer: eugenis.
Herald added subscribers: mgorny, kubamracek.
Added unit-test.
Fixed behavior of max_len argument.
Call read syscall with all available buffer, not just a page.
Repository:
rL LLVM
https://reviews.llvm.org/D46618
Files:
compiler-rt/lib/sanitizer_common/sanitizer_common.h
compiler-rt/lib/sanitizer_common/sanitizer_file.cc
compiler-rt/lib/sanitizer_common/sanitizer_linux.cc
compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46618.145835.patch
Type: text/x-patch
Size: 9502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180509/75fecef7/attachment.bin>
More information about the llvm-commits
mailing list