File tree 2 files changed +21
-1
lines changed 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -312,6 +312,16 @@ func asmcgocall(fn, arg unsafe.Pointer) int32
312
312
313
313
func morestack ()
314
314
315
+ // morestack_noctxt should be an internal detail,
316
+ // but widely used packages access it using linkname.
317
+ // Notable members of the hall of shame include:
318
+ // - github.com/bytedance/sonic
319
+ //
320
+ // Do not remove or change the type signature.
321
+ // See go.dev/issues/67401.
322
+ // See go.dev/issues/71672.
323
+ //
324
+ //go:linkname morestack_noctxt
315
325
func morestack_noctxt ()
316
326
317
327
func rt0_go ()
Original file line number Diff line number Diff line change @@ -491,7 +491,7 @@ var firstmoduledata moduledata // linker symbol
491
491
// See go.dev/issues/67401.
492
492
// See go.dev/issues/71672.
493
493
//
494
- //go:linkname lastmoduledatap runtime.lastmoduledatap
494
+ //go:linkname lastmoduledatap
495
495
var lastmoduledatap * moduledata // linker symbol
496
496
497
497
var modulesSlice * []* moduledata // see activeModules
@@ -602,6 +602,16 @@ func moduledataverify() {
602
602
603
603
const debugPcln = false
604
604
605
+ // moduledataverify1 should be an internal detail,
606
+ // but widely used packages access it using linkname.
607
+ // Notable members of the hall of shame include:
608
+ // - github.com/bytedance/sonic
609
+ //
610
+ // Do not remove or change the type signature.
611
+ // See go.dev/issues/67401.
612
+ // See go.dev/issues/71672.
613
+ //
614
+ //go:linkname moduledataverify1
605
615
func moduledataverify1 (datap * moduledata ) {
606
616
// Check that the pclntab's format is valid.
607
617
hdr := datap .pcHeader
You can’t perform that action at this time.
0 commit comments