Merge "Temporarily disable shadow call stack for riscv64." am: 7d57090bb3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2534259 Change-Id: I6ed1240943526bca0a74425427a73ee5ab41ca99 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user