diff options
Diffstat (limited to 'cc/sanitize.go')
-rw-r--r-- | cc/sanitize.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cc/sanitize.go b/cc/sanitize.go index b98797a7..7eb191f5 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go @@ -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 |