]> granicus.if.org Git - clang/commit
[clang] [Driver] [NetBSD] Append -rpath for shared compiler-rt runtimes
authorMichal Gorny <mgorny@gentoo.org>
Wed, 30 Jan 2019 08:20:24 +0000 (08:20 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Wed, 30 Jan 2019 08:20:24 +0000 (08:20 +0000)
commit339f71a59807d64c4749d498d34a74ffdde516c2
tree0c81bb3aa09c9d6b737fadb8ba3cedf8a3f30d44
parentad352e87e1e0d50554cf62cc7356bc322b8ac219
[clang] [Driver] [NetBSD] Append -rpath for shared compiler-rt runtimes

Append appropriate -rpath when using shared compiler-rt runtimes,
e.g. '-fsanitize=address -shared-libasan'.  There's already a similar
logic in CommonArgs.cpp but it uses non-standard arch-suffixed
installation directory while we want our driver to work with standard
installation paths.

Differential Revision: https://reviews.llvm.org/D57303

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