diff options
| author | Petr Hosek <phosek@chromium.org> | 2018-03-12 00:23:37 +0000 |
|---|---|---|
| committer | Petr Hosek <phosek@chromium.org> | 2018-03-12 00:23:37 +0000 |
| commit | 8b8d6bf62f39c316c087543578edc7e4044e1d35 (patch) | |
| tree | 1d92785762434d50d0064f1a7c6ce22e27d9d193 | |
| parent | 18aa0be36ed98e7d788d312bf5e21ae597f2e209 (diff) | |
| download | bcm5719-llvm-8b8d6bf62f39c316c087543578edc7e4044e1d35.tar.gz bcm5719-llvm-8b8d6bf62f39c316c087543578edc7e4044e1d35.zip | |
[Driver] Update the comment about incompatible sanitizers
Differential Revision: https://reviews.llvm.org/D44371
llvm-svn: 327249
| -rw-r--r-- | clang/lib/Driver/SanitizerArgs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Driver/SanitizerArgs.cpp b/clang/lib/Driver/SanitizerArgs.cpp index 0f00f678585..91dad40152e 100644 --- a/clang/lib/Driver/SanitizerArgs.cpp +++ b/clang/lib/Driver/SanitizerArgs.cpp @@ -348,7 +348,8 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC, // 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)) |

