Merge "Enable cfi for 32bit arch"
This commit is contained in:
@@ -404,12 +404,6 @@ func (sanitize *sanitize) begin(ctx BaseModuleContext) {
|
|||||||
s.Diag.Cfi = boolPtr(false)
|
s.Diag.Cfi = boolPtr(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Also disable CFI for arm32 until b/35157333 is fixed.
|
|
||||||
if ctx.Arch().ArchType == android.Arm {
|
|
||||||
s.Cfi = boolPtr(false)
|
|
||||||
s.Diag.Cfi = boolPtr(false)
|
|
||||||
}
|
|
||||||
|
|
||||||
// HWASan requires AArch64 hardware feature (top-byte-ignore).
|
// HWASan requires AArch64 hardware feature (top-byte-ignore).
|
||||||
if ctx.Arch().ArchType != android.Arm64 {
|
if ctx.Arch().ArchType != android.Arm64 {
|
||||||
s.Hwaddress = nil
|
s.Hwaddress = nil
|
||||||
|
Reference in New Issue
Block a user