]> granicus.if.org Git - clang/commit
[Driver] Fix -static-libsan / -shared-libsan on Darwin
authorVedant Kumar <vsk@apple.com>
Sat, 7 Oct 2017 01:42:09 +0000 (01:42 +0000)
committerVedant Kumar <vsk@apple.com>
Sat, 7 Oct 2017 01:42:09 +0000 (01:42 +0000)
commit613051701aab62f2b9062b8c2f3792d0cd6ee461
treeb142aab74628a8622c316096f2199a36c1fc7c3b
parentb623e4aa711a40eae845d6eabf2ea3b5303d391d
[Driver] Fix -static-libsan / -shared-libsan on Darwin

Don't ignore these flags on Darwin. The old behavior of using the
dynamic runtime when neither flag is passed is preserved.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315142 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/SanitizerArgs.cpp
lib/Driver/ToolChains/Darwin.cpp
test/Driver/sanitizer-ld.c