Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for pcdata (0.49 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

    		if sz != int64(int32(sz)) {
    			base.Fatalf("stack object too big: %v of type %v, size %d", v, t, sz)
    		}
    		lsym, useGCProg, ptrdata := reflectdata.GCSym(t)
    		if useGCProg {
    			ptrdata = -ptrdata
    		}
    		off = objw.Uint32(x, off, uint32(sz))
    		off = objw.Uint32(x, off, uint32(ptrdata))
    		off = objw.SymPtrOff(x, off, lsym)
    	}
    
    	if base.Flag.Live != 0 {
    		for _, v := range vars {
    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/runtime/symtab.go

    		if md.bad {
    			continue
    		}
    		*modules = append(*modules, md)
    		if md.gcdatamask == (bitvector{}) {
    			scanDataSize := md.edata - md.data
    			md.gcdatamask = progToPointerMask((*byte)(unsafe.Pointer(md.gcdata)), scanDataSize)
    			scanBSSSize := md.ebss - md.bss
    			md.gcbssmask = progToPointerMask((*byte)(unsafe.Pointer(md.gcbss)), scanBSSSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/objfile.go

    		}
    	}
    	w.Uint32(naux)
    
    	// Data indexes
    	h.Offsets[goobj.BlkDataIdx] = w.Offset()
    	dataOff := int64(0)
    	for _, list := range lists {
    		for _, s := range list {
    			w.Uint32(uint32(dataOff))
    			dataOff += int64(len(s.P))
    			if file := s.File(); file != nil {
    				dataOff += int64(file.Size)
    			}
    		}
    	}
    	if int64(uint32(dataOff)) != dataOff {
    		log.Fatalf("data too large")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loader/loader.go

    	if int64(int(siz)) != siz {
    		log.Fatalf("symgrow size %d too long", siz)
    	}
    	if int64(len(ms.data)) >= siz {
    		return
    	}
    	if cap(ms.data) < int(siz) {
    		cl := len(ms.data)
    		ms.data = append(ms.data, make([]byte, int(siz)+1-cl)...)
    		ms.data = ms.data[0:cl]
    	}
    	ms.data = ms.data[:siz]
    }
    
    // Convert a local index to a global index.
    func (l *Loader) toGlobal(r *oReader, i uint32) 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