]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/objabi: fix FuncID of runtime.rt0_go and runtime.systemstack_switch
authorzhouguangyuan <zhouguangyuan.xian@gmail.com>
Thu, 31 Mar 2022 12:16:23 +0000 (20:16 +0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 5 Apr 2022 17:12:35 +0000 (17:12 +0000)
Fixes #52092

Change-Id: I774a6722c6e3ce6781e1d8bc16ac68efee6f9c70
Reviewed-on: https://go-review.googlesource.com/c/go/+/396797
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Trust: Ian Lance Taylor <iant@golang.org>

src/cmd/internal/objabi/funcid.go

index 084fcdf712159104aca4cc33bed4a940074de696..c2eb4d545b7e20f21edce46d55464b857ad2d87b 100644 (file)
@@ -49,26 +49,26 @@ const (
 )
 
 var funcIDs = map[string]FuncID{
-       "abort":            FuncID_abort,
-       "asmcgocall":       FuncID_asmcgocall,
-       "asyncPreempt":     FuncID_asyncPreempt,
-       "cgocallback":      FuncID_cgocallback,
-       "debugCallV2":      FuncID_debugCallV2,
-       "gcBgMarkWorker":   FuncID_gcBgMarkWorker,
-       "go":               FuncID_rt0_go,
-       "goexit":           FuncID_goexit,
-       "gogo":             FuncID_gogo,
-       "gopanic":          FuncID_gopanic,
-       "handleAsyncEvent": FuncID_handleAsyncEvent,
-       "main":             FuncID_runtime_main,
-       "mcall":            FuncID_mcall,
-       "morestack":        FuncID_morestack,
-       "mstart":           FuncID_mstart,
-       "panicwrap":        FuncID_panicwrap,
-       "runfinq":          FuncID_runfinq,
-       "sigpanic":         FuncID_sigpanic,
-       "switch":           FuncID_systemstack_switch,
-       "systemstack":      FuncID_systemstack,
+       "abort":              FuncID_abort,
+       "asmcgocall":         FuncID_asmcgocall,
+       "asyncPreempt":       FuncID_asyncPreempt,
+       "cgocallback":        FuncID_cgocallback,
+       "debugCallV2":        FuncID_debugCallV2,
+       "gcBgMarkWorker":     FuncID_gcBgMarkWorker,
+       "rt0_go":             FuncID_rt0_go,
+       "goexit":             FuncID_goexit,
+       "gogo":               FuncID_gogo,
+       "gopanic":            FuncID_gopanic,
+       "handleAsyncEvent":   FuncID_handleAsyncEvent,
+       "main":               FuncID_runtime_main,
+       "mcall":              FuncID_mcall,
+       "morestack":          FuncID_morestack,
+       "mstart":             FuncID_mstart,
+       "panicwrap":          FuncID_panicwrap,
+       "runfinq":            FuncID_runfinq,
+       "sigpanic":           FuncID_sigpanic,
+       "systemstack_switch": FuncID_systemstack_switch,
+       "systemstack":        FuncID_systemstack,
 
        // Don't show in call stack but otherwise not special.
        "deferreturn":       FuncID_wrapper,