Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InitReachable (0.17 sec)

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

    	dynlink            bool
    
    	methodsigstmp []methodsig // scratch buffer for decoding method signatures
    	pkginits      []loader.Sym
    	mapinitnoop   loader.Sym
    }
    
    func (d *deadcodePass) init() {
    	d.ldr.InitReachable()
    	d.ifaceMethod = make(map[methodsig]bool)
    	d.genericIfaceMethod = make(map[string]bool)
    	if buildcfg.Experiment.FieldTrack {
    		d.ldr.Reachparent = make([]loader.Sym, d.ldr.NSym())
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/loader.go

    	if l.outer[c] != 0 {
    		panic("invalid nested carrier sym")
    	}
    }
    
    // Initialize Reachable bitmap and its siblings for running deadcode pass.
    func (l *Loader) InitReachable() {
    	l.growAttrBitmaps(l.NSym() + 1)
    }
    
    type symWithVal struct {
    	s Sym
    	v int64
    }
    type bySymValue []symWithVal
    
    func (s bySymValue) Len() int           { return len(s) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
Back to top