Skip to content

Commit 8b8d6bf

Browse files
committedMar 12, 2018
[Driver] Update the comment about incompatible sanitizers
Differential Revision: https://reviews.llvm.org/D44371 llvm-svn: 327249
1 parent 18aa0be commit 8b8d6bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎clang/lib/Driver/SanitizerArgs.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,8 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
348348
// Enable toolchain specific default sanitizers if not explicitly disabled.
349349
SanitizerMask Default = TC.getDefaultSanitizers() & ~AllRemove;
350350

351-
// Disable default sanitizers that are incompatible with the default ones.
351+
// Disable default sanitizers that are incompatible with explicitly requested
352+
// ones.
352353
for (auto G : IncompatibleGroups) {
353354
SanitizerMask Group = G.first;
354355
if ((Default & Group) && (Kinds & G.second))

0 commit comments

Comments
 (0)
Please sign in to comment.