Merge "Ignore pass-failed warnings on coverage builds." am: 349b97d88a am: 748d03be8b

Change-Id: I40a6760fd5ea0a34f1c5d2dbcc802df0dd533729
This commit is contained in:
Oliver Nguyen 2020-05-15 20:26:53 +00:00 committed by Automerger Merge Worker
commit df7bfec193

View file

@ -92,7 +92,7 @@ func (cov *coverage) flags(ctx ModuleContext, flags Flags, deps PathDeps) (Flags
// flags that the module may use.
flags.Local.CFlags = append(flags.Local.CFlags, "-Wno-frame-larger-than=", "-O0")
} else if clangCoverage {
flags.Local.CommonFlags = append(flags.Local.CommonFlags, "-fprofile-instr-generate", "-fcoverage-mapping")
flags.Local.CommonFlags = append(flags.Local.CommonFlags, "-fprofile-instr-generate", "-fcoverage-mapping", "-Wno-pass-failed")
}
}