[PATCH] clang-cl: Diagnose the usage of ASAN with a debug runtime library
Alexey Samsonov
vonosmas at gmail.com
Mon Oct 13 17:05:59 PDT 2014
================
Comment at: lib/Driver/Tools.cpp:3590
@@ +3589,3 @@
+ Args.hasArg(options::OPT__SLASH_LDd))) {
+ D.Diag(diag::err_drv_address_sanitizer_debug_runtime);
+ }
----------------
Why not use err_drv_argument_not_allowed_with here and show that "-fsanitize=address not allowed with /MTd" or smth. like that?
http://reviews.llvm.org/D5764
More information about the cfe-commits
mailing list