]> granicus.if.org Git - clang/commit
Merging r352610:
authorHans Wennborg <hans@hanshq.net>
Wed, 30 Jan 2019 19:13:49 +0000 (19:13 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 30 Jan 2019 19:13:49 +0000 (19:13 +0000)
commitf26c4bf23aff81535930e999efb121c7713da279
tree80af62311ca7ac6c9c79f9608ced3c83ec1f72d1
parentb2f58aebc2489a38b3c5f51eb49535d042e35d8d
Merging r352610:
------------------------------------------------------------------------
r352610 | mgorny | 2019-01-30 09:20:24 +0100 (Wed, 30 Jan 2019) | 9 lines

[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/branches/release_80@352650 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/NetBSD.cpp