[PATCH] D44371: [Driver] Update the comment about incompatible sanitizers

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 11 16:09:54 PDT 2018

phosek created this revision.
phosek added a reviewer: thakis.
Herald added a subscriber: cfe-commits.

  rC Clang



Index: clang/lib/Driver/SanitizerArgs.cpp
--- clang/lib/Driver/SanitizerArgs.cpp
+++ clang/lib/Driver/SanitizerArgs.cpp
@@ -348,7 +348,8 @@
   // Enable toolchain specific default sanitizers if not explicitly disabled.
   SanitizerMask Default = TC.getDefaultSanitizers() & ~AllRemove;
-  // Disable default sanitizers that are incompatible with the default ones.
+  // Disable default sanitizers that are incompatible with explicitly requested
+  // ones.
   for (auto G : IncompatibleGroups) {
     SanitizerMask Group = G.first;
     if ((Default & Group) && (Kinds & G.second))

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44371.137957.patch
Type: text/x-patch
Size: 652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180311/ac0540cf/attachment.bin>

More information about the cfe-commits mailing list