isCfi should query the mutated version
... similar to isFuzzer. Test: verify libaudioflinger_timing does not have duplicate -flto flags Bug: 289475610 Change-Id: Id7e5ec90b1b445f09f8b2ea164289450a77dfbb5
This commit is contained in:
2
cc/cc.go
2
cc/cc.go
@@ -1367,7 +1367,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