Merge "Temporarily disable shadow call stack for riscv64."

This commit is contained in:
Elliott Hughes
2023-04-13 01:47:42 +00:00
committed by Gerrit Code Review

View File

@@ -616,6 +616,10 @@ func (sanitize *sanitize) begin(ctx BaseModuleContext) {
if (ctx.Arch().ArchType != android.Arm64 && ctx.Arch().ArchType != android.Riscv64) || !ctx.toolchain().Bionic() {
s.Scs = nil
}
// ...but temporarily globally disabled on riscv64 (http://b/277909695).
if ctx.Arch().ArchType == android.Riscv64 {
s.Scs = nil
}
// Memtag_heap is only implemented on AArch64.
// Memtag ABI is Android specific for now, so disable for host.