Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RegabiWrappers (0.16 sec)

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

    		// any wrappers.
    		if len(cgoExport) > 0 && fn.ABIRefs&^obj.ABISetOf(fn.ABI) != 0 {
    			base.Fatalf("cgo exported function %v cannot have ABI wrappers", fn)
    		}
    
    		if !buildcfg.Experiment.RegabiWrappers {
    			continue
    		}
    
    		forEachWrapperABI(fn, makeABIWrapper)
    	}
    }
    
    func forEachWrapperABI(fn *ir.Func, cb func(fn *ir.Func, wrapperABI obj.ABI)) {
    	need := fn.ABIRefs &^ obj.ABISetOf(fn.ABI)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/main.go

    		if ctxt.IsDarwin() && ctxt.BuildMode == BuildModeCShared {
    			*FlagW = true // default to -w in c-shared mode on darwin, see #61229
    		}
    	}
    
    	if !buildcfg.Experiment.RegabiWrappers {
    		abiInternalVer = 0
    	}
    
    	startProfile()
    	if ctxt.BuildMode == BuildModeUnset {
    		ctxt.BuildMode.Set("exe")
    	}
    
    	if ctxt.BuildMode != BuildModeShared && flag.NArg() != 1 {
    		usage()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/symtab.go

    	//
    	// TODO: avoid the ldr.Lookup calls below by instead using an aux
    	// sym or marker relocation to associate the wrapper with the
    	// wrapped function.
    	if !buildcfg.Experiment.RegabiWrappers {
    		return name
    	}
    
    	if ldr.SymType(x) == sym.STEXT && ldr.SymVersion(x) != sym.SymVerABIInternal && ldr.SymVersion(x) < sym.SymVerStatic {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
Back to top