Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for PCDATA (0.11 sec)

  1. src/cmd/internal/obj/plist.go

    func (ctxt *Link) EmitEntryStackMap(s *LSym, p *Prog, newprog ProgAlloc) *Prog {
    	pcdata := Appendp(p, newprog)
    	pcdata.Pos = s.Func().Text.Pos
    	pcdata.As = APCDATA
    	pcdata.From.Type = TYPE_CONST
    	pcdata.From.Offset = abi.PCDATA_StackMapIndex
    	pcdata.To.Type = TYPE_CONST
    	pcdata.To.Offset = -1 // pcdata starts at -1 at function entry
    
    	return pcdata
    }
    
    // Similar to EmitEntryLiveness, but just emit unsafe point map.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/internal/obj/pcln.go

    		ctxt.DiagFlush()
    		log.Fatalf("bad code")
    	}
    
    	return oldval + p.Spadj
    }
    
    // pctopcdata computes the pcdata value in effect at p.
    // A PCDATA instruction sets the value in effect at future
    // non-PCDATA instructions.
    // Since PCDATA instructions have no width in the final code,
    // it does not matter which phase we use for the update.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/internal/obj/arm/obj5.go

    	// we are still in function prologue. We need to fix the
    	// SP data and PCDATA.
    	spfix := obj.Appendp(last, 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)
    
    	// MOVW	LR, R3
    	movw := obj.Appendp(pcdata, c.newprog)
    	movw.As = AMOVW
    	movw.From.Type = obj.TYPE_REG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/arm64/obj7.go

    	// SP data and PCDATA.
    	spfix := obj.Appendp(last, 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)
    
    	if q != nil {
    		q.To.SetTarget(pcdata)
    	}
    	bls.To.SetTarget(pcdata)
    
    	spill := c.cursym.Func().SpillRegisterArgs(pcdata, c.newprog)
    
    	// MOV	LR, R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top