Skip to content

Commit e2e36aa

Browse files
authored
Update SanitizerOptions.cpp
1 parent 08cdee3 commit e2e36aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Option/SanitizerOptions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ OptionSet<SanitizerKind> swift::parseSanitizerArgValues(
138138
}
139139
}
140140

141-
// Sanitizers are only supported on Linux or Darwin.
141+
// Check that we're one of the known supported targets for sanitizers.
142142
if (!(Triple.isOSDarwin() || Triple.isOSLinux() || Triple.isOSWindows())) {
143143
SmallString<128> b;
144144
Diags.diagnose(SourceLoc(), diag::error_unsupported_opt_for_target,

0 commit comments

Comments
 (0)