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)
commit68e53bf8c0bede46b4baf5c3d8d93cefe6ef2b37
tree095d44847f36988aad665050053bf8e22c1f0798
parentc55b070633d61d2e7cd680eb2d3e5b7eb89d5954
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>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326219 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChain.cpp