Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,456 for textp (0.07 sec)

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

    	// an RVA, so it is possible, and binary-size wise,
    	// to deduplicate .xdata entries.
    	uwcache := make(map[string]int64) // aux symbol name --> .xdata offset
    	for _, s := range ctxt.Textp {
    		if fi := ldr.FuncInfo(s); !fi.Valid() {
    			continue
    		}
    		uw := ldr.SEHUnwindSym(s)
    		if uw == 0 {
    			continue
    		}
    		name := ctxt.SymName(uw)
    		off, cached := uwcache[name]
    		if !cached {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/dwarf.go

    func (v compilationUnitByStartPC) Less(i, j int) bool {
    	switch {
    	case len(v[i].Textp) == 0 && len(v[j].Textp) == 0:
    		return v[i].Lib.Pkg < v[j].Lib.Pkg
    	case len(v[i].Textp) != 0 && len(v[j].Textp) == 0:
    		return true
    	case len(v[i].Textp) == 0 && len(v[j].Textp) != 0:
    		return false
    	default:
    		return v[i].PCs[0].Start < v[j].PCs[0].Start
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loader/loader.go

    	assignedToUnit := MakeBitmap(l.NSym() + 1)
    
    	// Start off textp with reachable external syms.
    	textp := []Sym{}
    	for _, sym := range extsyms {
    		if !l.attrReachable.Has(sym) {
    			continue
    		}
    		textp = append(textp, sym)
    	}
    
    	// Walk through all text symbols from Go object files and append
    	// them to their corresponding library's textp list.
    	for _, r := range l.objs[goObjStart:] {
    		lib := r.unit.Lib
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loadpe/ldpe.go

    				return nil, fmt.Errorf("internal error: preexisting COMDAT definition for %q", name)
    			}
    			comdatDefinitions[l.SymName(s)] = sz
    		}
    	}
    
    	// Sort outer lists by address, adding to textp.
    	// This keeps textp in increasing address order.
    	for _, sect := range f.Sections {
    		s := state.sectsyms[sect]
    		if s == 0 {
    			continue
    		}
    		l.SortSub(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/lib.go

    		ldelf := func(ctxt *Link, f *bio.Reader, pkg string, length int64, pn string) {
    			textp, flags, err := loadelf.Load(ctxt.loader, ctxt.Arch, ctxt.IncVersion(), f, pkg, length, pn, ehdr.Flags)
    			if err != nil {
    				Errorf(nil, "%v", err)
    				return
    			}
    			ehdr.Flags = flags
    			ctxt.Textp = append(ctxt.Textp, textp...)
    		}
    		return ldhostobj(ldelf, ctxt.HeadType, f, pkg, length, pn, file)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  6. src/cmd/link/internal/wasm/asm.go

    				}
    			}
    		}
    	}
    
    	// collect functions with WebAssembly body
    	var buildid []byte
    	fns := make([]*wasmFunc, len(ctxt.Textp))
    	for i, fn := range ctxt.Textp {
    		wfn := new(bytes.Buffer)
    		if ldr.SymName(fn) == "go:buildid" {
    			writeUleb128(wfn, 0) // number of sets of locals
    			writeI32Const(wfn, 0)
    			wfn.WriteByte(0x0b) // end
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/stackcheck.go

    	// to produce a good error message.
    	//
    	// This accumulates stack heights bottom-up so it only has to
    	// visit every function once.
    	var failed []loader.Sym
    	for _, s := range ctxt.Textp {
    		if sc.check(s) > limit {
    			failed = append(failed, s)
    		}
    	}
    
    	if len(failed) > 0 {
    		// Something was over-limit, so now we do the more
    		// expensive work to report a good error. First, for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 16:49:08 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/link.go

    	Loaded bool // set after all inputs have been loaded as symbols
    
    	compressDWARF bool
    
    	Libdir       []string
    	Library      []*sym.Library
    	LibraryByPkg map[string]*sym.Library
    	Shlibs       []Shlib
    	Textp        []loader.Sym
    	Moduledata   loader.Sym
    
    	PackageFile  map[string]string
    	PackageShlib map[string]string
    
    	tramps []loader.Sym // trampolines
    
    	compUnits []*sym.CompilationUnit // DWARF compilation units
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/macho.go

    	// referenced symbols. We can strip defined local text and data symbols.
    	// So *FlagS is applied based on symbol type.
    
    	// Add special runtime.text and runtime.etext symbols (which are local).
    	// We've already included this symbol in Textp on darwin if ctxt.DynlinkingGo().
    	// See data.go:/textaddress
    	// NOTE: runtime.text.N symbols (if we split text sections) are not added, though,
    	// so we handle them here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/xcoff.go

    	s := ldr.Lookup("runtime.text", 0)
    	if ldr.SymType(s) == sym.STEXT {
    		// We've already included this symbol in ctxt.Textp on AIX with external linker.
    		// See data.go:/textaddress
    		if !ctxt.IsExternal() {
    			putaixsym(ctxt, s, TextSym)
    		}
    	}
    
    	n := 1
    	// Generate base addresses for all text sections if there are multiple
    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