]> Cypherpunks repositories - gostls13.git/commit
runtime: initialise debug settings much earlier in startup process
authorSteve Muir <sjmuir@google.com>
Thu, 18 Sep 2025 14:54:57 +0000 (07:54 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 30 Sep 2025 18:19:26 +0000 (11:19 -0700)
commit300d9d2714164e455abc7990d52de9de6b084df1
treee72ce28cff1f1cc35fc73eb3e2c326b8db4d38d5
parenta846bb0aa523c8781248161b63bc2ab6a245cec1
runtime: initialise debug settings much earlier in startup process

This is necessary specifically to set the value of `debug.decoratemappings`
sufficiently early in the startup sequence that all memory ranges allocated
can be named appropriately using the new Linux-specific naming API
introduced in #71546.

Example output (on ARM64):
https://gist.github.com/9muir/3667654b9c3f52e8be92756219371672

Fixes: #75324
Change-Id: Ic0b16233f54a45adef1660c4d0df59af2f5af86a
Reviewed-on: https://go-review.googlesource.com/c/go/+/703476
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/decoratemappings_test.go [new file with mode: 0644]
src/runtime/export_test.go
src/runtime/proc.go
src/runtime/runtime1.go
src/runtime/set_vma_name_linux.go
src/runtime/set_vma_name_stub.go