Don't enable diagnostics for CFI when setting the CFI sanitizer.
am: 05b002dea0
Change-Id: I7eb2785678d4706e0da8cf22da2479ce512852ac
This commit is contained in:
@@ -560,7 +560,6 @@ func (sanitize *sanitize) SetSanitizer(t sanitizerType, b bool) {
|
||||
sanitize.Properties.Sanitize.Integer_overflow = boolPtr(b)
|
||||
case cfi:
|
||||
sanitize.Properties.Sanitize.Cfi = boolPtr(b)
|
||||
sanitize.Properties.Sanitize.Diag.Cfi = boolPtr(b)
|
||||
default:
|
||||
panic(fmt.Errorf("unknown sanitizerType %d", t))
|
||||
}
|
||||
|
Reference in New Issue
Block a user