[PATCH] clang-cl: Diagnose the usage of ASAN with a debug runtime library

Timur Iskhodzhanov timurrrr at google.com
Tue Oct 14 03:54:36 PDT 2014


I'd defer to Hans, he knows this code better.

I'm fine with the general direction.

================
Comment at: include/clang/Basic/DiagnosticDriverKinds.td:89
@@ -88,1 +88,3 @@
+def err_drv_address_sanitizer_debug_runtime : Error<
+  "address sanitizer with a debug runtime library not supported yet">;
 
----------------
The tool is called "AddressSanitizer", not "address sanitizer".

I'd prefer something line
  "AddressSanitizer doesn't support linking with debug runtime libraries yet"

http://reviews.llvm.org/D5764






More information about the cfe-commits mailing list