Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SymAddr (0.12 sec)

  1. src/cmd/link/internal/arm64/asm.go

    		}
    
    	case objabi.R_CALLARM64:
    		var t int64
    		if ldr.SymType(rs) == sym.SDYNIMPORT {
    			t = (ldr.SymAddr(syms.PLT) + r.Add()) - (ldr.SymValue(s) + int64(r.Off()))
    		} else {
    			t = (ldr.SymAddr(rs) + r.Add()) - (ldr.SymValue(s) + int64(r.Off()))
    		}
    		if t >= 1<<27 || t < -1<<27 {
    			ldr.Errorf(s, "program too large, call relocation distance = %d", t)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/op.go

    )
    
    // A SymEffect describes the effect that an SSA Value has on the variable
    // identified by the symbol in its Aux field.
    type SymEffect int8
    
    const (
    	SymRead SymEffect = 1 << iota
    	SymWrite
    	SymAddr
    
    	SymRdWr = SymRead | SymWrite
    
    	SymNone SymEffect = 0
    )
    
    // A Sym represents a symbolic offset from a base register.
    // Currently a Sym can be one of 3 things:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/macho.go

    				symtab.AddUint8(0)
    			} else {
    				symtab.AddUint8(uint8(ldr.SymSect(o).Extnum))
    			}
    			symtab.AddUint16(ctxt.Arch, 0) // desc
    			symtab.AddUintXX(ctxt.Arch, uint64(ldr.SymAddr(s)), ctxt.Arch.PtrSize)
    		}
    	}
    }
    
    func machodysymtab(ctxt *Link, base int64) {
    	ml := newMachoLoad(ctxt.Arch, LC_DYSYMTAB, 18)
    
    	n := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/liveness/plive.go

    	// This also prevents a variable from "coming back from the dead" and presenting
    	// stale pointers to the garbage collector. See issue 28445.
    	if e&(ssa.SymRead|ssa.SymAddr) != 0 {
    		effect |= uevar
    	}
    	if e&ssa.SymWrite != 0 {
    		if !isfat(n.Type()) || v.Op == ssa.OpVarDef {
    			effect |= varkill
    		} else if lv.conservativeWrites {
    			effect |= uevar
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top