Enable scs for riscv64

https://github.com/google/android-riscv64/issues/106

Bug: b/277909695

Change-Id: I2ea0d41fd9dc43b3fefb748d10694917034ab586
This commit is contained in:
AdityaK
2023-07-17 14:45:17 -07:00
committed by Aditya Kumar
parent adb892c539
commit 111d68053b

View File

@@ -646,10 +646,6 @@ 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.