Merge "isCfi should query the mutated version" into main
This commit is contained in:
2
cc/cc.go
2
cc/cc.go
@@ -1372,7 +1372,7 @@ func (c *Module) isPgoCompile() bool {
|
|||||||
|
|
||||||
func (c *Module) isCfi() bool {
|
func (c *Module) isCfi() bool {
|
||||||
if sanitize := c.sanitize; sanitize != nil {
|
if sanitize := c.sanitize; sanitize != nil {
|
||||||
return Bool(sanitize.Properties.Sanitize.Cfi)
|
return Bool(sanitize.Properties.SanitizeMutated.Cfi)
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user