package runtime
import (
)
var prSetVMAUnsupported atomic.Bool
func () bool {
return !prSetVMAUnsupported.Load()
}
func ( unsafe.Pointer, uintptr, string) {
if debug.decoratemappings == 0 || !setVMANameSupported() {
return
}
var [80]byte
:= copy([:], " Go: ")
copy([:79], )
, , := syscall.Syscall6(syscall.SYS_PRCTL, syscall.PR_SET_VMA, syscall.PR_SET_VMA_ANON_NAME, uintptr(), , uintptr(unsafe.Pointer(&[0])), 0)
if == _EINVAL {
prSetVMAUnsupported.Store(true)
}
}