[PATCH] D54779: [Sanitizer] Adding setvbuf in supported platforms and other stream buffer functions
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 21 12:52:56 PST 2018
vitalybuka added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_common_interceptors.inc:7328
+ REAL(setbuffer)(stream, buf, mode);
+ if (buf) {
+ COMMON_INTERCEPTOR_WRITE_RANGE(ctx, buf, __sanitizer_bufsiz);
----------------
vitalybuka wrote:
> Please unpoison always
always means "if (stream) unpoison_file(stream)"
https://reviews.llvm.org/D54779
More information about the llvm-commits
mailing list