Merge "isCfi should query the mutated version" into main am: 7d8231d13e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2661935 Change-Id: Ia082324f20bae8876f461e364d12d074d5787158 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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