clang-cl: Diagnose the usage of ASAN with a debug runtime library
authorEhsan Akhgari <ehsan.akhgari@gmail.com>
Tue, 14 Oct 2014 23:15:44 +0000 (23:15 +0000)
committerEhsan Akhgari <ehsan.akhgari@gmail.com>
Tue, 14 Oct 2014 23:15:44 +0000 (23:15 +0000)
commite0db196556f2e4653c12eab167444a2487052b39
treec00ede383c6d6c63ced2bfd55c55e12871e272e5
parent752b789e7bb37e2b2ef82d594eb4a3342e3e5d2e
clang-cl: Diagnose the usage of ASAN with a debug runtime library

Summary:
AddressSanitizer currently doesn't support this configuration, and binaries
built with it will just get into an infinite loop during startup.

Test Plan: Includes an automated test.

Reviewers: samsonov

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D5764

llvm-svn: 219744
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/lib/Driver/SanitizerArgs.cpp
clang/test/Driver/fsanitize.c