Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lastmoduledatap (0.18 sec)

  1. src/cmd/link/internal/ld/symtab.go

    	moduledata.Grow(moduledata.Size())
    
    	lastmoduledatap := ldr.CreateSymForUpdate("runtime.lastmoduledatap", 0)
    	if lastmoduledatap.Type() != sym.SDYNIMPORT {
    		lastmoduledatap.SetType(sym.SNOPTRDATA)
    		lastmoduledatap.SetSize(0) // overwrite existing value
    		lastmoduledatap.SetData(nil)
    		lastmoduledatap.AddAddr(ctxt.Arch, moduledata.Sym())
    	}
    	return symGroupType
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  2. src/runtime/symtab.go

    var firstmoduledata moduledata // linker symbol
    
    // lastmoduledatap should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/cloudwego/frugal
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname lastmoduledatap
    var lastmoduledatap *moduledata // linker symbol
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top