- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for funcAddress (0.09 sec)
-
src/cmd/asm/internal/asm/parse.go
abi = theabi } } } p.get('>') return isStatic, abi } // funcAddress parses an external function address. This is a // constrained form of the operand syntax that's always SB-based, // non-static, and has at most a simple integer offset: // // [$|*]sym[<abi>][+Int](SB) func (p *Parser) funcAddress() (string, obj.ABI, bool) { switch p.peek() { case '$', '*': // Skip prefix. p.next()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 36.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/operand_test.go
{"s390x", s390xOperandTests}, } { t.Run(sub.arch, func(t *testing.T) { parser := newParser(sub.arch) for _, test := range sub.tests { parser.start(lex.Tokenize(test.input)) name, _, ok := parser.funcAddress() isFuncSym := strings.HasSuffix(test.input, "(SB)") && // Ignore static symbols. !strings.Contains(test.input, "<>") wantName := "" if isFuncSym {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 23.9K bytes - Viewed (0)