Merge "Disble CFI for ARM32 processes."

am: e13374d3c1

Change-Id: Ib9939f42e6f7d3f932b2b29b10ba539dd4cf6239
This commit is contained in:
Vishwath Mohan
2017-02-13 20:56:01 +00:00
committed by android-build-merger

View File

@@ -173,6 +173,12 @@ func (sanitize *sanitize) begin(ctx BaseModuleContext) {
s.Diag.Cfi = nil
}
// Also disable CFI for arm32 until b/35157333 is fixed.
if ctx.Arch().ArchType == android.Arm {
s.Cfi = nil
s.Diag.Cfi = nil
}
if ctx.staticBinary() {
s.Address = nil
s.Coverage = nil