[PATCH] D41054: Teach clang/NetBSD about additional dependencies for sanitizers
Kamil Rytarowski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 14 12:30:09 PST 2017
krytarowski added a comment.
In https://reviews.llvm.org/D41054#955755, @joerg wrote:
> I'm not really a fan of linking libutil into all binaries. Why is this code using forkpty in first place and not posix_openpt/grantpt?
pid_t
forkpty(int *amaster, char *name, struct termios *term, struct winsize *winp);
We need to teach sanitizers how to mark as initialized structs passed to this function.
Sanitizers are for development only, so it's the trade-off of linking with additional libraries.
Repository:
rL LLVM
https://reviews.llvm.org/D41054
More information about the cfe-commits
mailing list