Don't enable diagnostics for CFI when setting the CFI sanitizer. am: 05b002dea0
am: dc55e621bb
Change-Id: I04214a9fcb50363bd5d82362b366e5bf69355183
This commit is contained in:
@@ -566,7 +566,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