Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for stacklive (0.19 sec)

  1. src/cmd/compile/internal/ssa/stackalloc.go

    				changed = true
    			}
    		}
    
    		if !changed {
    			break
    		}
    	}
    	if s.f.pass.debug > stackDebug {
    		for _, b := range s.f.Blocks {
    			fmt.Printf("stacklive %s %v\n", b, s.live[b.ID])
    		}
    	}
    }
    
    func (f *Func) getHome(vid ID) Location {
    	if int(vid) >= len(f.RegAlloc) {
    		return nil
    	}
    	return f.RegAlloc[vid]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/regalloc.go

    	s.placeSpills()
    
    	// Anything that didn't get a register gets a stack location here.
    	// (StoreReg, stack-based phis, inputs, ...)
    	stacklive := stackalloc(s.f, s.spillLive)
    
    	// Fix up all merge edges.
    	s.shuffle(stacklive)
    
    	// Erase any copies we never used.
    	// Also, an unused copy might be the only use of another copy,
    	// so continue erasing until we reach a fixed point.
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  3. src/runtime/os_openbsd_libc.go

    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Find out OS stack size for our own stack guard.
    	var stacksize uintptr
    	if pthread_attr_getstacksize(&attr, &stacksize) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    	mp.g0.stack.hi = stacksize // for mstart
    
    	// Tell the pthread library we won't join with this thread.
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 20:44:45 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. pkg/log/default_test.go

    				"\"stack\":\".*\"}",
    			json:       true,
    			caller:     true,
    			stackLevel: DebugLevel,
    		},
    		{
    			f: func() { Info("Hello") },
    			pat: "{\"level\":\"info\",\"time\":\"" + timePattern + "\",\"caller\":\"log/default_test.go:.*\",\"msg\":\"Hello\"," +
    				"\"stack\":\".*\"}",
    			json:       true,
    			caller:     true,
    			stackLevel: DebugLevel,
    		},
    		{
    			f: func() { Warn("Hello") },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. pkg/log/scope_test.go

    			json:       true,
    			caller:     true,
    			stackLevel: DebugLevel,
    		},
    		{
    			f: func() { s.Info("Hello") },
    			pat: "{\"level\":\"info\",\"time\":\"" + timePattern + "\",\"scope\":\"testScope\",\"caller\":\"log/scope_test.go:.*\",\"msg\":\"Hello\"," +
    				"\"stack\":\".*\"}",
    			json:       true,
    			caller:     true,
    			stackLevel: DebugLevel,
    		},
    		{
    			f: func() { s.Warn("Hello") },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/runtime/os_darwin.go

    	if err != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Find out OS stack size for our own stack guard.
    	var stacksize uintptr
    	if pthread_attr_getstacksize(&attr, &stacksize) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    	mp.g0.stack.hi = stacksize // for mstart
    
    	// Tell the pthread library we won't join with this thread.
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. src/runtime/os_freebsd.go

    		throw("newosproc")
    	}
    }
    
    // Version of newosproc that doesn't require a valid G.
    //
    //go:nosplit
    func newosproc0(stacksize uintptr, fn unsafe.Pointer) {
    	stack := sysAlloc(stacksize, &memstats.stacks_sys)
    	if stack == nil {
    		writeErrStr(failallocatestack)
    		exit(1)
    	}
    	// This code "knows" it's being called once from the library
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  8. src/runtime/rt0_linux_arm64.s

    	MOVD	$_rt0_arm64_linux_lib_go(SB), R0
    	MOVD	$0, R1
    	SUB	$16, RSP		// reserve 16 bytes for sp-8 where fp may be saved.
    	BL	(R4)
    	ADD	$16, RSP
    	B	restore
    
    nocgo:
    	MOVD	$0x800000, R0                     // stacksize = 8192KB
    	MOVD	$_rt0_arm64_linux_lib_go(SB), R1
    	MOVD	R0, 8(RSP)
    	MOVD	R1, 16(RSP)
    	MOVD	$runtime·newosproc0(SB),R4
    	BL	(R4)
    
    restore:
    	// Restore callee-save registers.
    	RESTORE_R19_TO_R28(24)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 01:28:43 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. src/runtime/rt0_freebsd_arm64.s

    	MOVD	$_rt0_arm64_freebsd_lib_go(SB), R0
    	MOVD	$0, R1
    	SUB	$16, RSP	// reserve 16 bytes for sp-8 where fp may be saved.
    	BL	(R4)
    	ADD	$16, RSP
    	B	restore
    
    nocgo:
    	MOVD	$0x800000, R0                     // stacksize = 8192KB
    	MOVD	$_rt0_arm64_freebsd_lib_go(SB), R1
    	MOVD	R0, 8(RSP)
    	MOVD	R1, 16(RSP)
    	MOVD	$runtime·newosproc0(SB),R4
    	BL	(R4)
    
    restore:
    	// Restore callee-save registers.
    	RESTORE_R19_TO_R28(24)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 01:28:43 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/riscv/obj.go

    		return
    	}
    
    	stacksize := text.To.Offset
    	if stacksize == -8 {
    		// Historical way to mark NOFRAME.
    		text.From.Sym.Set(obj.AttrNoFrame, true)
    		stacksize = 0
    	}
    	if stacksize < 0 {
    		ctxt.Diag("negative frame size %d - did you mean NOFRAME?", stacksize)
    	}
    	if text.From.Sym.NoFrame() {
    		if stacksize != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top