// Copyright 2025 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.// Valgrind instrumentation is only available on linux amd64 and arm64.//go:build !valgrind || !linux || (!amd64 && !arm64)package runtimeimportconst valgrindenabled = falsefunc valgrindRegisterStack(, unsafe.Pointer) uintptr { return0 }func valgrindDeregisterStack( uintptr) {}func valgrindChangeStack( uintptr, , unsafe.Pointer) {}func valgrindMalloc( unsafe.Pointer, uintptr) {}func valgrindFree( unsafe.Pointer) {}func valgrindCreateMempool( unsafe.Pointer) {}func valgrindMempoolMalloc(, unsafe.Pointer, uintptr) {}func valgrindMempoolFree(, unsafe.Pointer) {}func valgrindMakeMemUndefined( unsafe.Pointer, uintptr) {}func valgrindMakeMemDefined( unsafe.Pointer, uintptr) {}func valgrindMakeMemNoAccess( unsafe.Pointer, uintptr) {}
The pages are generated with Goldsv0.7.7-preview. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.