Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for traverseSyms (0.14 sec)

  1. src/cmd/internal/obj/sym.go

    	ctxt.pkgIdx = make(map[string]int32)
    	ctxt.defs = []*LSym{}
    	ctxt.hashed64defs = []*LSym{}
    	ctxt.hasheddefs = []*LSym{}
    	ctxt.nonpkgdefs = []*LSym{}
    
    	var idx, hashedidx, hashed64idx, nonpkgidx int32
    	ctxt.traverseSyms(traverseDefs|traversePcdata, func(s *LSym) {
    		if s.ContentAddressable() {
    			if s.Size <= 8 && len(s.R) == 0 && contentHashSection(s) == 0 {
    				// We can use short hash only for symbols without relocations.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/objfile.go

    	}
    }
    
    func (w *writer) StringTable() {
    	w.AddString("")
    	for _, p := range w.ctxt.Imports {
    		w.AddString(p.Pkg)
    	}
    	for _, pkg := range w.pkglist {
    		w.AddString(pkg)
    	}
    	w.ctxt.traverseSyms(traverseAll, func(s *LSym) {
    		// Don't put names of builtins into the string table (to save
    		// space).
    		if s.PkgIdx == goobj.PkgIdxBuiltin {
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top