Merge "Do not enable sanitizers on Windows"

This commit is contained in:
Treehugger Robot
2018-06-26 23:28:29 +00:00
committed by Gerrit Code Review

View File

@@ -155,7 +155,9 @@ func (sanitize *sanitize) begin(ctx BaseModuleContext) {
if ctx.clang() {
if ctx.Host() {
globalSanitizers = ctx.Config().SanitizeHost()
if !ctx.Windows() {
globalSanitizers = ctx.Config().SanitizeHost()
}
} else {
arches := ctx.Config().SanitizeDeviceArch()
if len(arches) == 0 || inList(ctx.Arch().ArchType.Name, arches) {