Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 260 for prolog (0.1 sec)

  1. src/internal/coverage/cfile/apis.go

    	// finished clearing the entire counter segment, we will have lost
    	// the values in the prolog portion of main.XYZ's counter slab
    	// (nctrs, pkgid, funcid). This means that later on at the end of
    	// program execution as we walk through the entire counter array
    	// for the program looking for executed functions, we'll zoom past
    	// main.XYZ's prolog (which was zero'd) and hit the non-zero
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/mergelocals_test.go

    	}
    	vars := make(map[string]string)
    	lines := strings.Split(string(out), "\n")
    	prolog := true
    	varsAtFrameOffset := make(map[string]int)
    	for _, line := range lines {
    		if line == "=-= stack layout for ABC:" {
    			prolog = false
    			continue
    		} else if prolog || line == "" {
    			continue
    		}
    		fields := strings.Fields(line)
    		wantFields := 9
    		if len(fields) != wantFields {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/cmd/cgo/out.go

    // error if a Go file with a cgo comment #include's the export header
    // generated by a different package. Unfortunately GoString means two
    // different things: in this prolog it means a C name for the Go type,
    // while in the prolog written into the start of the C code generated
    // from a cgo-using Go file it means the C.GoString function. There is
    // no way to resolve this conflict, but it also doesn't make much
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/seh.go

    		return
    	}
    
    	// This implementation expects the following function prologue layout:
    	// - Stack split code (optional)
    	// - PUSHQ	BP
    	// - MOVQ	SP,	BP
    	//
    	// If the prologue layout change, the unwind information should be updated
    	// accordingly.
    
    	// Search for the PUSHQ BP instruction inside the prologue.
    	var pushbp *obj.Prog
    	for p := s.Func().Text; p != nil; p = p.Link {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/debug.go

    	return list, sizeIdx
    }
    
    // locatePrologEnd walks the entry block of a function with incoming
    // register arguments and locates the last instruction in the prolog
    // that spills a register arg. It returns the ID of that instruction,
    // and (where appropriate) the prolog's lowered closure ptr store inst.
    //
    // Example:
    //
    //	b1:
    //	    v3 = ArgIntReg <int> {p1+0} [0] : AX
    //	    ... more arg regs ..
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  6. src/runtime/stubs.go

    // getclosureptr can only be used in an assignment statement
    // at the entry of a function. Moreover, go:nosplit directive
    // must be specified at the declaration of caller function,
    // so that the function prolog does not clobber the closure register.
    // for example:
    //
    //	//go:nosplit
    //	func f(arg1, arg2, arg3 int) {
    //		dx := getclosureptr()
    //	}
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  7. src/runtime/asm_s390x.s

    	// call target function
    	MOVD	0(R12), R3	// code pointer
    	BL	(R3)
    
    	// should never return
    	BL	runtime·abort(SB)
    	UNDEF
    
    /*
     * support for morestack
     */
    
    // Called during function prolog when more stack is needed.
    // Caller has already loaded:
    // R3: framesize, R4: argsize, R5: LR
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. src/runtime/asm_mipsx.s

    	// call target function
    	MOVW	0(REGCTXT), R25
    	JAL	(R25)
    
    	// should never return
    	CALL	runtime·abort(SB)
    	UNDEF
    
    /*
     * support for morestack
     */
    
    // Called during function prolog when more stack is needed.
    // Caller has already loaded:
    // R1: framesize, R2: argsize, R3: LR
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 11:46:29 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. src/runtime/asm_loong64.s

    	// call target function
    	MOVV	0(REGCTXT), R6
    	JAL	(R6)
    
    	// should never return
    	JAL	runtime·abort(SB)
    	UNDEF
    
    /*
     * support for morestack
     */
    
    // Called during function prolog when more stack is needed.
    // Caller has already loaded:
    // loong64: R31: LR
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  10. src/cmd/cover/cover.go

    	// Insert the registration sequence into the function. We want this sequence to
    	// appear before any counter updates, so use a hack to ensure that this edit
    	// applies before the edit corresponding to the prolog counter update.
    
    	boff := f.offset(body.Pos())
    	ipos := f.fset.File(body.Pos()).Pos(boff)
    	ip := f.offset(ipos)
    	f.edit.Replace(ip, ip+1, string(f.content[ipos-1])+regHook+" ; ")
    
    	f.fn.counterVar = ""
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top