]> granicus.if.org Git - clang/commit
[asan] Use the dynamic ASan runtime if -shared-libasan is passed
authorReid Kleckner <rnk@google.com>
Wed, 2 Nov 2016 15:38:51 +0000 (15:38 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 2 Nov 2016 15:38:51 +0000 (15:38 +0000)
commit54ac10da81f70a7c019c4a65f698da90b6d4fc7c
treed803fc7e78f098f4c0997a4b8754e5f7346e7ca9
parent71f89259bf5ae6008ff3ccba729366d838e1b8e6
[asan] Use the dynamic ASan runtime if -shared-libasan is passed

-shared-libasan is likely to be used as a link flag if the user is using
the GCC-style clang driver.

This logic is already tested in clang-cl tests, and the new flag to
exercise it will be covered by asan tests.

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