[PATCH] D54739: [Sanitizer] intercept setvbuf on other platforms where it is supported
Kamil Rytarowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 20 14:38:36 PST 2018
krytarowski added a comment.
Looking at the source code, FreeBSD uses setvbuf(3) internally too. I guess it's similar with Darwin as it uses POSIX layer from BSDs.
I propose to add dedicated interceptors for setbuf(3), setlinebuf(3), setbuffer(3) and remove this ifdef hack.
Repository:
rL LLVM
https://reviews.llvm.org/D54739
More information about the llvm-commits
mailing list