Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for Pcsp (0.04 sec)

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

    	// and following calls.
    	maxLocalHeight := 0
    	relocs, ri := ldr.Relocs(sym), 0
    	pcsp := obj.NewPCIter(uint32(ctxt.Arch.MinLC))
    	for pcsp.Init(ldr.Data(ldr.Pcsp(sym))); !pcsp.Done; pcsp.Next() {
    		// pcsp.value is in effect for [pcsp.pc, pcsp.nextpc).
    		height := int(pcsp.Value)
    		if height > maxLocalHeight {
    			maxLocalHeight = height
    		}
    
    		// Process calls in this span.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 16:49:08 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/objfile.go

    		}
    		if fn.dwarfDebugLinesSym != nil && fn.dwarfDebugLinesSym.Size != 0 {
    			w.aux1(goobj.AuxDwarfLines, fn.dwarfDebugLinesSym)
    		}
    		if fn.Pcln.Pcsp != nil && fn.Pcln.Pcsp.Size != 0 {
    			w.aux1(goobj.AuxPcsp, fn.Pcln.Pcsp)
    		}
    		if fn.Pcln.Pcfile != nil && fn.Pcln.Pcfile.Size != 0 {
    			w.aux1(goobj.AuxPcfile, fn.Pcln.Pcfile)
    		}
    		if fn.Pcln.Pcline != nil && fn.Pcln.Pcline.Size != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/pcln.go

    			}
    			size += datSize
    			seen[pcSym] = struct{}{}
    		}
    	}
    	var pcsp, pcline, pcfile, pcinline loader.Sym
    	var pcdata []loader.Sym
    	for _, s := range funcs {
    		fi := ldr.FuncInfo(s)
    		if !fi.Valid() {
    			continue
    		}
    		fi.Preload()
    		pcsp, pcfile, pcline, pcinline, pcdata = ldr.PcdataAuxs(s, pcdata)
    
    		pcSyms := []loader.Sym{pcsp, pcfile, pcline}
    		for _, pcSym := range pcSyms {
    			saveOffset(pcSym)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  4. src/internal/abi/symtab.go

    	// FuncFlagSPWrite indicates a function that writes an arbitrary value to SP
    	// (any write other than adding or subtracting a constant amount).
    	// The traceback routines cannot encode such changes into the
    	// pcsp tables, so the function traceback cannot safely unwind past
    	// SPWrite functions. Stopping at an SPWrite function is considered
    	// to be an incomplete unwinding of the stack. In certain contexts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 14:25:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/dwarf.go

    		}
    
    		for pcsp.Init(d.linkctxt.loader.Data(fpcsp)); !pcsp.Done; pcsp.Next() {
    			nextpc := pcsp.NextPC
    
    			// pciterinit goes up to the end of the function,
    			// but DWARF expects us to stop just before the end.
    			if int64(nextpc) == int64(len(d.ldr.Data(fn))) {
    				nextpc--
    				if nextpc < pcsp.PC {
    					continue
    				}
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  6. src/runtime/symtab.go

    	return funcline1(f, targetpc, true)
    }
    
    func funcspdelta(f funcInfo, targetpc uintptr) int32 {
    	x, _ := pcvalue(f, f.pcsp, targetpc, true)
    	if debugPcln && x&(goarch.PtrSize-1) != 0 {
    		print("invalid spdelta ", funcname(f), " ", hex(f.entry()), " ", hex(targetpc), " ", hex(f.pcsp), " ", x, "\n")
    		throw("bad spdelta")
    	}
    	return x
    }
    
    // funcMaxSPDelta returns the maximum spdelta at any point in f.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/pcln.go

    		if p.As == AFUNCDATA && p.From.Offset >= int64(nfuncdata) {
    			nfuncdata = int(p.From.Offset + 1)
    		}
    	}
    
    	pcln.Pcdata = make([]*LSym, npcdata)
    	pcln.Funcdata = make([]*LSym, nfuncdata)
    
    	pcln.Pcsp = funcpctab(ctxt, cursym, "pctospadj", pctospadj, nil)
    	pcln.Pcfile = funcpctab(ctxt, cursym, "pctofile", pctofileline, pcln)
    	pcln.Pcline = funcpctab(ctxt, cursym, "pctoline", pctofileline, nil)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/sym.go

    				} else if v := s.VarInfo(); v != nil {
    					fnNoNil(v.dwarfInfoSym)
    				}
    			}
    			if flag&traversePcdata != 0 && s.Type == objabi.STEXT {
    				fi := s.Func().Pcln
    				fnNoNil(fi.Pcsp)
    				fnNoNil(fi.Pcfile)
    				fnNoNil(fi.Pcline)
    				fnNoNil(fi.Pcinline)
    				for _, d := range fi.Pcdata {
    					fnNoNil(d)
    				}
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loader/loader.go

    		if a.Type() == t {
    			return l.resolve(r, a.Sym())
    		}
    	}
    	return 0
    }
    
    func (l *Loader) Pcsp(i Sym) Sym { return l.aux1(i, goobj.AuxPcsp) }
    
    // Returns all aux symbols of per-PC data for symbol i.
    // tmp is a scratch space for the pcdata slice.
    func (l *Loader) PcdataAuxs(i Sym, tmp []Sym) (pcsp, pcfile, pcline, pcinline Sym, pcdata []Sym) {
    	pcdata = tmp[:0]
    	r, auxs := l.auxs(i)
    	for j := range auxs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/link.go

    }
    
    // The compiler needs *LSym to be assignable to cmd/compile/internal/ssa.Sym.
    func (*LSym) CanBeAnSSASym() {}
    func (*LSym) CanBeAnSSAAux() {}
    
    type Pcln struct {
    	// Aux symbols for pcln
    	Pcsp      *LSym
    	Pcfile    *LSym
    	Pcline    *LSym
    	Pcinline  *LSym
    	Pcdata    []*LSym
    	Funcdata  []*LSym
    	UsedFiles map[goobj.CUFileIndex]struct{} // file indices used while generating pcfile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top