Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for stackOffset (0.32 sec)

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

    			setSlot(slot, VarLoc{regs, last.StackOffset})
    		}
    
    		locs.registers[reg] = locs.registers[reg][:0]
    	}
    
    	switch {
    	case v.Op == OpVarDef:
    		n := v.Aux.(*ir.Name)
    		if ir.IsSynthetic(n) {
    			break
    		}
    
    		slotID := state.varParts[n][0]
    		var stackOffset StackOffset
    		if v.Op == OpVarDef {
    			stackOffset = StackOffset(state.stackOffset(state.slots[slotID])<<1 | 1)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/compile/internal/ssagen/ssa.go

    		if e.curfn.ABI == obj.ABIInternal && base.Flag.N != 0 {
    			ssa.BuildFuncDebugNoOptimized(base.Ctxt, f, base.Debug.LocationLists > 1, StackOffset, debugInfo)
    		} else {
    			ssa.BuildFuncDebug(base.Ctxt, f, base.Debug.LocationLists, StackOffset, debugInfo)
    		}
    		bstart := s.bstart
    		idToIdx := make([]int, f.NumBlocks())
    		for i, b := range f.Blocks {
    			idToIdx[b.ID] = i
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top