Skip to content

Commit cb42c03

Browse files
committed
Add Windows to supported list for ASAN.
1 parent 178946e commit cb42c03

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
@@ -139,7 +139,7 @@ OptionSet<SanitizerKind> swift::parseSanitizerArgValues(
139139
}
140140

141141
// Sanitizers are only supported on Linux or Darwin.
142-
if (!(Triple.isOSDarwin() || Triple.isOSLinux())) {
142+
if (!(Triple.isOSDarwin() || Triple.isOSLinux() || Triple.isOSWindows())) {
143143
SmallString<128> b;
144144
Diags.diagnose(SourceLoc(), diag::error_unsupported_opt_for_target,
145145
(A->getOption().getPrefixedName() +

0 commit comments

Comments
 (0)