Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDwsectCUSize (1.31 sec)

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

    // This size can later be retrieved with the index "sectionName.pkgName".
    var dwsectCUSizeMu sync.Mutex
    var dwsectCUSize map[string]uint64
    
    // getDwsectCUSize retrieves the corresponding package size inside the current section.
    func getDwsectCUSize(sname string, pkgname string) uint64 {
    	return dwsectCUSize[sname+"."+pkgname]
    }
    
    func addDwsectCUSize(sname string, pkgname string, size uint64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/xcoff.go

    		var dwsize uint64
    		if ctxt.LinkMode == LinkInternal {
    			// Find the size of this corresponding package DWARF compilation unit.
    			// This size is set during DWARF generation (see dwarf.go).
    			dwsize = getDwsectCUSize(sect.Name, name)
    			// .debug_abbrev is common to all packages and not found with the previous function
    			if sect.Name == ".debug_abbrev" {
    				dwsize = uint64(ldr.SymSize(loader.Sym(sect.Sym)))
    
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
Back to top