]> Cypherpunks repositories - gostls13.git/commit
runtime: support valgrind (but not asan) in specialized malloc functions
authormatloob <matloob@golang.org>
Wed, 1 Oct 2025 16:06:14 +0000 (12:06 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 3 Oct 2025 17:09:29 +0000 (10:09 -0700)
commitc54dc1418b6fbff4176aaaffcc9fab6f1ad631a6
tree6e4916015d294776fc4e3901532b60e6cb207557
parenta7917eed70c63840b2c59748c52ef9ff11fecf38
runtime: support valgrind (but not asan) in specialized malloc functions

We're adding this so that the compiler doesn't need to know about
valgrind since it's just implemented using a build tag.

Change-Id: I6a6a696452b0379caceca2ae4e49195016f7a90d
Reviewed-on: https://go-review.googlesource.com/c/go/+/708296
Reviewed-by: Michael Matloob <matloob@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Matloob <matloob@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/malloc_generated.go
src/runtime/malloc_stubs.go