Merge "isCfi should query the mutated version" into main

This commit is contained in:
Yi Kong
2023-07-19 02:38:28 +00:00
committed by Gerrit Code Review

View File

@@ -1372,7 +1372,7 @@ func (c *Module) isPgoCompile() bool {
func (c *Module) isCfi() bool {
if sanitize := c.sanitize; sanitize != nil {
return Bool(sanitize.Properties.Sanitize.Cfi)
return Bool(sanitize.Properties.SanitizeMutated.Cfi)
}
return false
}