Stop linking sanitized applications with -lutil and -lkvm on NetBSD
authorKamil Rytarowski <n54@gmx.com>
Tue, 20 Feb 2018 16:27:28 +0000 (16:27 +0000)
committerKamil Rytarowski <n54@gmx.com>
Tue, 20 Feb 2018 16:27:28 +0000 (16:27 +0000)
commitaf1d48a2ffce86f9943d65ee34760b4adc0beb70
tree38102e8d12f60e3aea8335ceabf8307d0be842d1
parent90f4c8ec299a19ec4c78166865e96c382cb32f92
Stop linking sanitized applications with -lutil and -lkvm on NetBSD

The proper approach is to rebuild libutil and libkvm with a desired sanitizer.
An alternative approach to reimplement these functions (and other ones like
curses(3), editline(3) etc) does not scale and enforces linkage every single
binary with these libraries.

llvm-svn: 325593
clang/lib/Driver/ToolChains/CommonArgs.cpp