Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 208 for pcdata (0.19 sec)

  1. 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)
  2. src/cmd/internal/obj/s390x/objz.go

    	// we are still in function prologue. We need to fix the
    	// SP data and PCDATA.
    	spfix := obj.Appendp(p, c.newprog)
    	spfix.As = obj.ANOP
    	spfix.Spadj = -framesize
    
    	pcdata := c.ctxt.EmitEntryStackMap(c.cursym, spfix, c.newprog)
    	pcdata = c.ctxt.StartUnsafePoint(pcdata, c.newprog)
    
    	// MOVD	LR, R5
    	p = obj.Appendp(pcdata, c.newprog)
    	pPre.To.SetTarget(p)
    	p.As = AMOVD
    	p.From.Type = obj.TYPE_REG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/internal/obj/x86/obj6.go

    	// we are still in function prologue. We need to fix the
    	// SP data and PCDATA.
    	spfix := obj.Appendp(last, newprog)
    	spfix.As = obj.ANOP
    	spfix.Spadj = -framesize
    
    	pcdata := ctxt.EmitEntryStackMap(cursym, spfix, newprog)
    	spill := ctxt.StartUnsafePoint(pcdata, newprog)
    	pcdata = cursym.Func().SpillRegisterArgs(spill, newprog)
    
    	call := obj.Appendp(pcdata, newprog)
    	call.Pos = cursym.Func().Text.Pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  6. doc/asm.html

    	0x003e 00062 (x.go:5)	ADDQ	$16, SP
    	0x0042 00066 (x.go:5)	RET
    	0x0043 00067 (x.go:5)	NOP
    	0x0043 00067 (x.go:3)	PCDATA	$1, $-1
    	0x0043 00067 (x.go:3)	PCDATA	$0, $-1
    	0x0043 00067 (x.go:3)	CALL	runtime.morestack_noctxt(SB)
    	0x0048 00072 (x.go:3)	JMP	0
    ...
    </pre>
    
    <p>
    The <code>FUNCDATA</code> and <code>PCDATA</code> directives contain information
    for use by the garbage collector; they are introduced by the compiler.
    </p>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (1)
  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