Update coverage sanitizer flags in soong

Update the coverage sanitizer flags in soong to use the new
flavor of coverage sanitization.

Bug: 63108942

Test: Fuzzer runs with coverage guards.
Change-Id: I2e817a5282cf7dab49aee6985743defd4fb74628
This commit is contained in:
Dan Austin 2017-06-28 15:29:09 -07:00
parent 397866653e
commit 8241abba87

View file

@ -324,7 +324,7 @@ func (sanitize *sanitize) flags(ctx ModuleContext, flags Flags) Flags {
}
if Bool(sanitize.Properties.Sanitize.Coverage) {
flags.CFlags = append(flags.CFlags, "-fsanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp")
flags.CFlags = append(flags.CFlags, "-fsanitize-coverage=trace-pc-guard")
}
if Bool(sanitize.Properties.Sanitize.Safestack) {