Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for PCDATA (0.1 sec)

  1. src/runtime/stkframe.go

    		return
    	}
    
    	f := frame.fn
    	pcdata := int32(-1)
    	if targetpc != f.entry() {
    		// Back up to the CALL. If we're at the function entry
    		// point, we want to use the entry map (-1), even if
    		// the first instruction of the function changes the
    		// stack map.
    		targetpc--
    		pcdata = pcdatavalue(f, abi.PCDATA_StackMapIndex, targetpc)
    	}
    	if pcdata == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/pcln.go

    	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)
    		}
    		for _, pcSym := range pcdata {
    			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)
  3. src/runtime/heapdump.go

    	f := s.fn
    
    	// Figure out what we can about our stack map
    	pc := s.pc
    	pcdata := int32(-1) // Use the entry map at function entry
    	if pc != f.entry() {
    		pc--
    		pcdata = pcdatavalue(f, abi.PCDATA_StackMapIndex, pc)
    	}
    	if pcdata == -1 {
    		// We do not have a valid pcdata value but there might be a
    		// stackmap for this function. It is likely that we are looking
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    }
    
    // asmPCData assembles a PCDATA pseudo-op.
    // PCDATA $2, $705
    func (p *Parser) asmPCData(operands [][]lex.Token) {
    	if len(operands) != 2 {
    		p.errorf("expect two operands for PCDATA")
    		return
    	}
    
    	// Operand 0 must be an immediate constant.
    	key := p.address(operands[0])
    	if !p.validImmediate("PCDATA", &key) {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. src/internal/abi/symtab.go

    // whose argument size is unknown (C vararg functions, and
    // assembly code without an explicit specification).
    // This value is generated by the compiler, assembler, or linker.
    const ArgsSizeUnknown = -0x80000000
    
    // IDs for PCDATA and FUNCDATA tables in Go binaries.
    //
    // These must agree with ../../../runtime/funcdata.h.
    const (
    	PCDATA_UnsafePoint   = 0
    	PCDATA_StackMapIndex = 1
    	PCDATA_InlTreeIndex  = 2
    	PCDATA_ArgLiveIndex  = 3
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 14:25:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/liveness/plive.go

    // list for the function arguments. Both lists are indexed by the same PCDATA
    // index, so the corresponding pairs must be considered together when
    // merging duplicates. The argument bitmaps change much less often during
    // function execution than the local variable bitmaps, so it is possible that
    // we could introduce a separate PCDATA index for arguments vs locals and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. src/runtime/runtime2.go

    	// arrays that reference the pcdata and funcdata locations for this
    	// function.
    
    	// pcdata contains the offset into moduledata.pctab for the start of
    	// that index's table. e.g.,
    	// &moduledata.pctab[_func.pcdata[_PCDATA_UnsafePoint]] is the start of
    	// the unsafe point table.
    	//
    	// An offset of 0 indicates that there is no table.
    	//
    	// pcdata [npcdata]uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/objfile.go

    			w.aux1(goobj.AuxPcinline, fn.Pcln.Pcinline)
    		}
    		if fn.sehUnwindInfoSym != nil && fn.sehUnwindInfoSym.Size != 0 {
    			w.aux1(goobj.AuxSehUnwindInfo, fn.sehUnwindInfoSym)
    		}
    		for _, pcSym := range fn.Pcln.Pcdata {
    			w.aux1(goobj.AuxPcdata, pcSym)
    		}
    		if fn.WasmImportSym != nil {
    			if fn.WasmImportSym.Size == 0 {
    				panic("wasmimport aux sym must have non-zero size")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. src/runtime/symtab.go

    			// work correctly for entries in the result of runtime.Callers.
    			pc--
    		}
    		// It's important that interpret pc non-strictly as cgoTraceback may
    		// have added bogus PCs with a valid funcInfo but invalid PCDATA.
    		u, uf := newInlineUnwinder(funcInfo, pc)
    		sf := u.srcFunc(uf)
    		if u.isInlined(uf) {
    			// Note: entry is not modified. It always refers to a real frame, not an inlined one.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loader/loader.go

    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 {
    		a := &auxs[j]
    		switch a.Type() {
    		case goobj.AuxPcsp:
    			pcsp = l.resolve(r, a.Sym())
    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