Handle the NetBSD case in ToolChain::getOSLibName()
authorKamil Rytarowski <n54@gmx.com>
Tue, 27 Feb 2018 18:16:47 +0000 (18:16 +0000)
committerKamil Rytarowski <n54@gmx.com>
Tue, 27 Feb 2018 18:16:47 +0000 (18:16 +0000)
commit9b1996ec8626b63afba9f575b1ef35d7a30ca667
treed3dcdde70552ddb7e028232773d72ba0079745d5
parentb2f9bb9e54bce5bbaccbe1d9d524a1c638d7b636
Handle the NetBSD case in ToolChain::getOSLibName()

Return a new CompilerRT Path on NetBSD: "netbsd", instead of
getOS(), which returns a string like "netbsd8.9.12".

Sponsored by <The NetBSD Foundation>

llvm-svn: 326219
clang/lib/Driver/ToolChain.cpp