Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for FUNCDATA_ArgsPointerMaps (0.53 sec)

  1. src/runtime/funcdata.h

    //
    // These must agree with internal/abi/symtab.go.
    
    #define PCDATA_UnsafePoint 0
    #define PCDATA_StackMapIndex 1
    #define PCDATA_InlTreeIndex 2
    #define PCDATA_ArgLiveIndex 3
    
    #define FUNCDATA_ArgsPointerMaps 0 /* garbage collector blocks */
    #define FUNCDATA_LocalsPointerMaps 1
    #define FUNCDATA_StackObjects 2
    #define FUNCDATA_InlTree 3
    #define FUNCDATA_OpenCodedDeferInfo 4 /* info for func with open-coded defers */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:28:09 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/plist.go

    			if curtext == nil { // func _() {}
    				continue
    			}
    			switch p.To.Sym.Name {
    			case "go_args_stackmap":
    				if p.From.Type != TYPE_CONST || p.From.Offset != abi.FUNCDATA_ArgsPointerMaps {
    					ctxt.Diag("%s: FUNCDATA use of go_args_stackmap(SB) without FUNCDATA_ArgsPointerMaps", p.Pos)
    				}
    				p.To.Sym = ctxt.LookupDerived(curtext, curtext.Name+".args_stackmap")
    			case "no_pointers_stackmap":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. src/internal/abi/symtab.go

    //
    // These must agree with ../../../runtime/funcdata.h.
    const (
    	PCDATA_UnsafePoint   = 0
    	PCDATA_StackMapIndex = 1
    	PCDATA_InlTreeIndex  = 2
    	PCDATA_ArgLiveIndex  = 3
    
    	FUNCDATA_ArgsPointerMaps    = 0
    	FUNCDATA_LocalsPointerMaps  = 1
    	FUNCDATA_StackObjects       = 2
    	FUNCDATA_InlTree            = 3
    	FUNCDATA_OpenCodedDeferInfo = 4
    	FUNCDATA_ArgInfo            = 5
    	FUNCDATA_ArgLiveInfo        = 6
    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/runtime/stkframe.go

    	args, isReflect = frame.argMapInternal()
    	if args.n > 0 && args.bytedata == nil {
    		// Non-empty argument frame, but not a special map.
    		// Fetch the argument map at pcdata.
    		stackmap := (*stackmap)(funcdata(f, abi.FUNCDATA_ArgsPointerMaps))
    		if stackmap == nil || stackmap.n <= 0 {
    			print("runtime: frame ", funcname(f), " untyped args ", hex(frame.argp), "+", hex(args.n*goarch.PtrSize), "\n")
    			throw("missing stackmap")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. src/runtime/heapdump.go

    	// Record arg info for parent.
    	child.argoff = s.argp - s.fp
    	child.arglen = s.argBytes()
    	child.sp = (*uint8)(unsafe.Pointer(s.sp))
    	child.depth++
    	stkmap = (*stackmap)(funcdata(f, abi.FUNCDATA_ArgsPointerMaps))
    	if stkmap != nil {
    		child.args = stackmapdata(stkmap, pcdata)
    	} else {
    		child.args.n = -1
    	}
    	return
    }
    
    func dumpgoroutine(gp *g) {
    	var sp, pc, lr uintptr
    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/link/internal/ld/pcln.go

    			// it didn't though, just ignore it.
    			//
    			// TODO(cherryyz): Fix arg map generation (see discussion on CL 523335).
    			if fdsym != 0 && (j == abi.FUNCDATA_ArgsPointerMaps || j == abi.FUNCDATA_ArgInfo) && ldr.IsFromAssembly(s) && ldr.Data(fdsym) == nil {
    				fdsym = 0
    			}
    
    			if fdsym == 0 {
    				sb.SetUint32(ctxt.Arch, dataoff, ^uint32(0)) // ^0 is a sentinel for "no value"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/liveness/plive.go

    	}
    
    	// Emit the live pointer map data structures
    	ls := curfn.LSym
    	fninfo := ls.Func()
    	fninfo.GCArgs, fninfo.GCLocals = lv.emit()
    
    	p := pp.Prog(obj.AFUNCDATA)
    	p.From.SetConst(rtabi.FUNCDATA_ArgsPointerMaps)
    	p.To.Type = obj.TYPE_MEM
    	p.To.Name = obj.NAME_EXTERN
    	p.To.Sym = fninfo.GCArgs
    
    	p = pp.Prog(obj.AFUNCDATA)
    	p.From.SetConst(rtabi.FUNCDATA_LocalsPointerMaps)
    	p.To.Type = obj.TYPE_MEM
    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