Merge "Set -fno-emulated-tls for riscv64"

This commit is contained in:
Treehugger Robot
2022-10-21 03:31:38 +00:00
committed by Gerrit Code Review
3 changed files with 3 additions and 2 deletions

View File

@@ -511,7 +511,7 @@ func (sanitize *sanitize) begin(ctx BaseModuleContext) {
s.Integer_overflow = nil
}
// CFI doesn't work for riscv64 yet because LTO doesn't work.
// TODO(b/254713216): CFI doesn't work for riscv64 yet because LTO doesn't work.
if ctx.Arch().ArchType == android.Riscv64 {
s.Cfi = nil
s.Diag.Cfi = nil