Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d57090b authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Temporarily disable shadow call stack for riscv64."

parents 70079c11 5beb42fe
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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.