Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for symRefAttrs (0.1 sec)

  1. src/cmd/asm/internal/asm/parse.go

    	case '*':
    		a.Type = obj.TYPE_INDIR
    	}
    
    	// Parse optional <> (indicates a static symbol) or
    	// <ABIxxx> (selecting text symbol with specific ABI).
    	doIssueError := true
    	isStatic, abi := p.symRefAttrs(name, doIssueError)
    
    	if p.peek() == '+' || p.peek() == '-' {
    		a.Offset = int64(p.expr())
    	}
    	if isStatic {
    		a.Sym = p.ctxt.LookupStatic(name)
    	} else {
    		a.Sym = p.ctxt.LookupABI(name, abi)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top