diff options
| author | Michael Pratt <mpratt@google.com> | 2025-03-24 04:24:35 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-03-24 20:56:45 -0700 |
| commit | 4f11f8ff7db476c534b9b1ad8910dcdd8bbcf022 (patch) | |
| tree | 32d40f0fa1b047a790241b0567caa23494c06a0b /src/cmd | |
| parent | 9c88db5f1eba68999184bb043a0b339349b81db4 (diff) | |
| download | go-4f11f8ff7db476c534b9b1ad8910dcdd8bbcf022.tar.xz | |
runtime: rename runfinq to runFinalizersAndCleanups
Users see this frame in tracebacks and it serves as a hint that what is
running here is a finalizer or cleanup. But runfinq is a rather dense
name. We can give it a more obvious name to help users realize what it
is.
For #73011.
Change-Id: I6a6a636ce9a493fd00d4b4c60c23f2b1c96d3568
Reviewed-on: https://go-review.googlesource.com/c/go/+/660296
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/cmd')
| -rw-r--r-- | src/cmd/internal/objabi/funcid.go | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/cmd/internal/objabi/funcid.go b/src/cmd/internal/objabi/funcid.go index d9b47f1ec9..5fd0c02baa 100644 --- a/src/cmd/internal/objabi/funcid.go +++ b/src/cmd/internal/objabi/funcid.go @@ -10,27 +10,27 @@ import ( ) var funcIDs = map[string]abi.FuncID{ - "abort": abi.FuncID_abort, - "asmcgocall": abi.FuncID_asmcgocall, - "asyncPreempt": abi.FuncID_asyncPreempt, - "cgocallback": abi.FuncID_cgocallback, - "corostart": abi.FuncID_corostart, - "debugCallV2": abi.FuncID_debugCallV2, - "gcBgMarkWorker": abi.FuncID_gcBgMarkWorker, - "rt0_go": abi.FuncID_rt0_go, - "goexit": abi.FuncID_goexit, - "gogo": abi.FuncID_gogo, - "gopanic": abi.FuncID_gopanic, - "handleAsyncEvent": abi.FuncID_handleAsyncEvent, - "main": abi.FuncID_runtime_main, - "mcall": abi.FuncID_mcall, - "morestack": abi.FuncID_morestack, - "mstart": abi.FuncID_mstart, - "panicwrap": abi.FuncID_panicwrap, - "runfinq": abi.FuncID_runfinq, - "sigpanic": abi.FuncID_sigpanic, - "systemstack_switch": abi.FuncID_systemstack_switch, - "systemstack": abi.FuncID_systemstack, + "abort": abi.FuncID_abort, + "asmcgocall": abi.FuncID_asmcgocall, + "asyncPreempt": abi.FuncID_asyncPreempt, + "cgocallback": abi.FuncID_cgocallback, + "corostart": abi.FuncID_corostart, + "debugCallV2": abi.FuncID_debugCallV2, + "gcBgMarkWorker": abi.FuncID_gcBgMarkWorker, + "rt0_go": abi.FuncID_rt0_go, + "goexit": abi.FuncID_goexit, + "gogo": abi.FuncID_gogo, + "gopanic": abi.FuncID_gopanic, + "handleAsyncEvent": abi.FuncID_handleAsyncEvent, + "main": abi.FuncID_runtime_main, + "mcall": abi.FuncID_mcall, + "morestack": abi.FuncID_morestack, + "mstart": abi.FuncID_mstart, + "panicwrap": abi.FuncID_panicwrap, + "runFinalizersAndCleanups": abi.FuncID_runFinalizersAndCleanups, + "sigpanic": abi.FuncID_sigpanic, + "systemstack_switch": abi.FuncID_systemstack_switch, + "systemstack": abi.FuncID_systemstack, // Don't show in call stack but otherwise not special. "deferreturn": abi.FuncIDWrapper, |
