Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for regabiwrappers (0.25 sec)

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

    				s.refs[sym] |= obj.ABISetOf(abi)
    			}
    		default:
    			log.Fatalf(`%s:%d: invalid symabi type "%s"`, file, lineNum, parts[0])
    		}
    	}
    }
    
    // GenABIWrappers applies ABI information to Funcs and generates ABI
    // wrapper functions where necessary.
    func (s *SymABIs) GenABIWrappers() {
    	// For cgo exported symbols, we tell the linker to export the
    	// definition ABI to C. That also means that we don't want to
    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