]> Cypherpunks repositories - gostls13.git/commit
runtime: route calls to msan_memmove through cgo
authorIan Lance Taylor <iant@golang.org>
Tue, 25 Feb 2025 23:40:39 +0000 (15:40 -0800)
committerGopher Robot <gobot@golang.org>
Wed, 26 Feb 2025 05:41:00 +0000 (21:41 -0800)
commit969a0da362ce846360782b34bfad7a18c2f64628
treeb78d344acc1f611047ce59e30ecab9a2dc545ec6
parent767c0fb9fd1e7d7210276be45b0abb5d14d34484
runtime: route calls to msan_memmove through cgo

This avoids problems when the C linker doesn't want to see the Go relocation.

Fixes #71954

Change-Id: I7cf884c4059d596cad6074ade02020d5a724f20e
Reviewed-on: https://go-review.googlesource.com/c/go/+/652180
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/runtime/msan.go
src/runtime/msan/msan.go
src/runtime/msan_amd64.s
src/runtime/msan_arm64.s
src/runtime/msan_loong64.s