Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FuncNameABI (0.2 sec)

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

    func (f *Func) NameABI() string {
    	return FuncNameABI(f.Name, f.ABISelf.Which())
    }
    
    // FuncNameABI returns n followed by a comma and the value of a.
    // This is a separate function to allow a single point encoding
    // of the format, which is used in places where there's not a Func yet.
    func FuncNameABI(n string, a obj.ABI) string {
    	return fmt.Sprintf("%s,%d", n, a)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    		nameOptABI := name
    		if strings.Contains(ssaDump, ",") { // ABI specification
    			nameOptABI = ssa.FuncNameABI(name, abiSelf.Which())
    		} else if strings.HasSuffix(ssaDump, ">") { // if they use the linker syntax instead....
    			l := len(ssaDump)
    			if l >= 3 && ssaDump[l-3] == '<' {
    				nameOptABI = ssa.FuncNameABI(name, abiSelf.Which())
    				ssaDump = ssaDump[:l-3] + "," + ssaDump[l-2:l-1]
    			}
    		}
    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