r327249 - [Driver] Update the comment about incompatible sanitizers
Petr Hosek via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 11 17:23:37 PDT 2018
Author: phosek
Date: Sun Mar 11 17:23:37 2018
New Revision: 327249
URL: http://llvm.org/viewvc/llvm-project?rev=327249&view=rev
Log:
[Driver] Update the comment about incompatible sanitizers
Differential Revision: https://reviews.llvm.org/D44371
Modified:
cfe/trunk/lib/Driver/SanitizerArgs.cpp
Modified: cfe/trunk/lib/Driver/SanitizerArgs.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/SanitizerArgs.cpp?rev=327249&r1=327248&r2=327249&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/SanitizerArgs.cpp (original)
+++ cfe/trunk/lib/Driver/SanitizerArgs.cpp Sun Mar 11 17:23:37 2018
@@ -348,7 +348,8 @@ SanitizerArgs::SanitizerArgs(const ToolC
// 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))
More information about the cfe-commits
mailing list