[PATCH] D54739: [Sanitizer] intercept setvbuf on other platforms where it is supported

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 20 14:03:13 PST 2018


vitalybuka accepted this revision.
vitalybuka added inline comments.
This revision is now accepted and ready to land.


================
Comment at: test/sanitizer_common/TestCases/Posix/setvbuf.cc:19
 
   setbuf(stdout, buf);
 
----------------
hm, we do not intercept this one, and two below


================
Comment at: test/sanitizer_common/TestCases/Posix/setvbuf.cc:37
 void test_setlinebuf() {
   char buf[BUFSIZ];
 
----------------
buf[BUFSIZ] is unused


https://reviews.llvm.org/D54739





More information about the llvm-commits mailing list