[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 17:26:03 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL327249: [Driver] Update the comment about incompatible sanitizers (authored by phosek, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D44371?vs=137957&id=137960#toc
Repository:
rL LLVM
https://reviews.llvm.org/D44371
Files:
cfe/trunk/lib/Driver/SanitizerArgs.cpp
Index: cfe/trunk/lib/Driver/SanitizerArgs.cpp
===================================================================
--- cfe/trunk/lib/Driver/SanitizerArgs.cpp
+++ cfe/trunk/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.137960.patch
Type: text/x-patch
Size: 664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180312/22c87337/attachment.bin>
More information about the cfe-commits
mailing list