Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 81 for pcs (0.12 sec)

  1. src/runtime/runtime2.go

    	retpc           uintptr
    	deferBitsOffset uintptr
    	slotsOffset     uintptr
    }
    
    // ancestorInfo records details of where a goroutine was started.
    type ancestorInfo struct {
    	pcs  []uintptr // pcs from the stack of this goroutine
    	goid uint64    // goroutine id of this goroutine; original goroutine possibly dead
    	gopc uintptr   // pc of go statement that created this goroutine
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  2. src/runtime/race.go

    		throw("unknown command")
    	}
    }
    
    // raceSymbolizeCode reads ctx.pc and populates the rest of *ctx with
    // information about the code at that pc.
    //
    // The race detector has already subtracted 1 from pcs, so they point to the last
    // byte of call instructions (including calls to runtime.racewrite and friends).
    //
    // If the incoming pc is part of an inlined function, *ctx is populated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. src/testing/testing.go

    	if n == 0 {
    		panic("testing: zero callers found")
    	}
    	return pcToName(pc[0])
    }
    
    func pcToName(pc uintptr) string {
    	pcs := []uintptr{pc}
    	frames := runtime.CallersFrames(pcs)
    	frame, _ := frames.Next()
    	return frame.Function
    }
    
    // Parallel signals that this test is to be run in parallel with (and only with)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/debug.go

    // in state.f, using the information about block state in blockLocs.
    // The returned location lists are not fully complete. They are in
    // terms of SSA values rather than PCs, and have no base address/end
    // entries. They will be finished by PutLocationList.
    func (state *debugState) buildLocationLists(blockLocs []*BlockDebug) {
    	// Run through the function in program text order, building up location
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/macho.go

    	// plugin's functab is corrupted. By unexporting them, these
    	// become static references, which are resolved to the
    	// plugin's text.
    	//
    	// It would be better to omit the runtime from plugins. (Using
    	// relative PCs in the functab instead of relocations would
    	// also address this.)
    	//
    	// See issue #18190.
    	if ctxt.BuildMode == BuildModePlugin {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  6. src/runtime/proc.go

    		n = debug.tracebackancestors
    	}
    	ancestors := make([]ancestorInfo, n)
    	copy(ancestors[1:], callerAncestors)
    
    	var pcs [tracebackInnerFrames]uintptr
    	npcs := gcallers(callergp, 0, pcs[:])
    	ipcs := make([]uintptr, npcs)
    	copy(ipcs, pcs[:])
    	ancestors[0] = ancestorInfo{
    		pcs:  ipcs,
    		goid: callergp.goid,
    		gopc: callergp.gopc,
    	}
    
    	ancestorsp := new([]ancestorInfo)
    	*ancestorsp = ancestors
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/riscv/obj.go

    			//
    			// This is to avoid confusing pctospadj, which sums
    			// Spadj from function entry to each PC, and shouldn't
    			// count adjustments from earlier epilogues, since they
    			// won't affect later PCs.
    			p.Spadj = int32(stacksize)
    
    		case AADDI:
    			// Refine Spadjs account for adjustment via ADDI instruction.
    			if p.To.Type == obj.TYPE_REG && p.To.Reg == REG_SP && p.From.Type == obj.TYPE_CONST {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/data.go

    	data = append(data, s...)
    	return data
    }
    
    // assign addresses to text
    func (ctxt *Link) textaddress() {
    	addsection(ctxt.loader, ctxt.Arch, &Segtext, ".text", 05)
    
    	// Assign PCs in text segment.
    	// Could parallelize, by assigning to text
    	// and then letting threads copy down, but probably not worth it.
    	sect := Segtext.Sections[0]
    
    	sect.Align = int32(Funcalign)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/arm64/asm7.go

    	for _, jt := range cursym.Func().JumpTables {
    		for i, p := range jt.Targets {
    			// The ith jumptable entry points to the p.Pc'th
    			// byte in the function symbol s.
    			// TODO: try using relative PCs.
    			jt.Sym.WriteAddr(ctxt, int64(i)*8, 8, cursym, p.Pc)
    		}
    	}
    }
    
    // isUnsafePoint returns whether p is an unsafe point.
    func (c *ctxt7) isUnsafePoint(p *obj.Prog) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    		}
    		bstart := s.bstart
    		idToIdx := make([]int, f.NumBlocks())
    		for i, b := range f.Blocks {
    			idToIdx[b.ID] = i
    		}
    		// Register a callback that will be used later to fill in PCs into location
    		// lists. At the moment, Prog.Pc is a sequence number; it's not a real PC
    		// until after assembly, so the translation needs to be deferred.
    		debugInfo.GetPC = func(b, v ssa.ID) int64 {
    			switch v {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top