Disble CFI for ARM32 processes.
This CL disables CFI for 32-bit ARM processes, which is broken due to a compiler error in the most recent version of clang. Bug: 35157333 Test: ENABLE_CFI=true m -j40 does not enable CFI for 32-bit processes Change-Id: I52ccf60d91ff1a2af4cf024376b7d70f87040674
This commit is contained in:
parent
1d83bc7866
commit
6d67e6e68e
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue