Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Deferproc (0.33 sec)

  1. src/cmd/compile/internal/ir/symtab.go

    	AssertI2I         *obj.LSym
    	AssertI2I2        *obj.LSym
    	Asanread          *obj.LSym
    	Asanwrite         *obj.LSym
    	CgoCheckMemmove   *obj.LSym
    	CgoCheckPtrWrite  *obj.LSym
    	CheckPtrAlignment *obj.LSym
    	Deferproc         *obj.LSym
    	Deferprocat       *obj.LSym
    	DeferprocStack    *obj.LSym
    	Deferreturn       *obj.LSym
    	Duffcopy          *obj.LSym
    	Duffzero          *obj.LSym
    	GCWriteBarrier    [8]*obj.LSym
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:26 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/runtime/panic.go

    	// uintptr stack pointer.
    	d.sp = getcallersp()
    
    	// deferproc returns 0 normally.
    	// a deferred func that stops a panic
    	// makes the deferproc return 1.
    	// the code the compiler generates always
    	// checks the return value and jumps to the
    	// end of the function if deferproc returns != 0.
    	return0()
    	// No code can go here - the C return register has
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. src/cmd/internal/goobj/mkbuiltin.go

    	}
    	return result
    }
    
    type extra struct {
    	name string
    	abi  int
    }
    
    var fextras = [...]extra{
    	// compiler frontend inserted calls (sysfunc)
    	{"deferproc", 1},
    	{"deferprocStack", 1},
    	{"deferreturn", 1},
    	{"newproc", 1},
    	{"panicoverflow", 1},
    	{"sigpanic", 1},
    
    	// compiler backend inserted calls
    	{"gcWriteBarrier", 1},
    	{"duffzero", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.x86HasPOPCNT", 0},
    	{"runtime.x86HasSSE41", 0},
    	{"runtime.x86HasFMA", 0},
    	{"runtime.armHasVFPv4", 0},
    	{"runtime.arm64HasATOMICS", 0},
    	{"runtime.asanregisterglobals", 1},
    	{"runtime.deferproc", 1},
    	{"runtime.deferprocStack", 1},
    	{"runtime.deferreturn", 1},
    	{"runtime.newproc", 1},
    	{"runtime.panicoverflow", 1},
    	{"runtime.sigpanic", 1},
    	{"runtime.gcWriteBarrier", 1},
    	{"runtime.duffzero", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. src/runtime/stubs.go

    // See go.dev/issue/67401.
    //
    //go:linkname morestack_noctxt
    func morestack_noctxt()
    
    func rt0_go()
    
    // return0 is a stub used to return 0 from deferproc.
    // It is called at the very end of deferproc to signal
    // the calling Go function that it should not jump
    // to deferreturn.
    // in asm_*.s
    func return0()
    
    // in asm_*.s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. src/runtime/stack.go

    to be enough room to execute functions that refuse to check for
    stack overflow, either because they need to be adjacent to the
    actual caller's frame (deferproc) or because they handle the imminent
    stack overflow (morestack).
    
    For example, deferproc might call malloc, which does one of the
    above checks (without allocating a full frame), which might trigger
    a call to morestack.  This sequence needs to fit in the bottom
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/rangefunc/rewrite.go

    outer function and then use it in a later defer to attach the deferred
    code to that outer function.
    
    Normally,
    
    	defer print("A")
    
    compiles to
    
    	runtime.deferproc(func() { print("A") })
    
    This changes in a range-over-func. For example:
    
    	for range f {
    		defer print("A")
    	}
    
    compiles to
    
    	var #defers = runtime.deferrangefunc()
    	f(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/genericOps.go

    //       If   [boolean Value]      [then, else]
    //    First                []   [always, never]
    //    Defer             [mem]  [nopanic, panic]                  (control opcode should be OpStaticCall to runtime.deferproc)
    // JumpTable   [integer Value]  [succ1,succ2,..]
    
    var genericBlocks = []blockData{
    	{name: "Plain"},                  // a single successor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/ssa.go

    	ir.Syms.CgoCheckPtrWrite = typecheck.LookupRuntimeFunc("cgoCheckPtrWrite")
    	ir.Syms.CheckPtrAlignment = typecheck.LookupRuntimeFunc("checkptrAlignment")
    	ir.Syms.Deferproc = typecheck.LookupRuntimeFunc("deferproc")
    	ir.Syms.Deferprocat = typecheck.LookupRuntimeFunc("deferprocat")
    	ir.Syms.DeferprocStack = typecheck.LookupRuntimeFunc("deferprocStack")
    	ir.Syms.Deferreturn = typecheck.LookupRuntimeFunc("deferreturn")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  10. src/runtime/traceback.go

    	// a safe point for looking up liveness information. In this panicking case,
    	// the function either doesn't return at all (if it has no defers or if the
    	// defers do not recover) or it returns from one of the calls to
    	// deferproc a second time (if the corresponding deferred func recovers).
    	// In the latter case, use a deferreturn call site as the continuation pc.
    	frame.continpc = frame.pc
    	if u.calleeFuncID == abi.FuncID_sigpanic {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top