Merge "Fix runtime failure on windows" into amd-master-next

[ROCm/hip commit: 33fcc105ea]
Esse commit está contido em:
Icarus Sparry
2020-05-11 18:58:17 -04:00
commit de Gerrit Code Review
+3 -1
Ver Arquivo
@@ -678,7 +678,9 @@ foreach $arg (@ARGV)
# common characters such as alphanumerics.
# Do the quoting here because sometimes the $arg is changed in the loop
# Important to have all of '-Xlinker' in the set of unquoted characters.
$arg =~ s/[^-a-zA-Z0-9=+,.]/\\$&/g;
if (not $isWindows) { # Windows needs different quoting, ignore for now
$arg =~ s/[^-a-zA-Z0-9_=+,.\/]/\\$&/g;
}
$toolArgs .= " $arg" unless $swallowArg;
$prevArg = $arg;
}