Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for stackOffset (0.23 sec)

  1. src/cmd/compile/internal/ssagen/pgen.go

    		// set the R_WEAK bit, leave rest of reloc type intact
    		fn.LSym.R[i].Type |= objabi.R_WEAK
    	}
    }
    
    // StackOffset returns the stack location of a LocalSlot relative to the
    // stack pointer, suitable for use in a DWARF location entry. This has nothing
    // to do with its offset in the user variable.
    func StackOffset(slot ssa.LocalSlot) int32 {
    	n := slot.N
    	var off int64
    	switch n.Class {
    	case ir.PPARAM, ir.PPARAMOUT:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top