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:
parent
397866653e
commit
8241abba87
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue