Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ParseSymABIs (0.17 sec)

  1. src/cmd/asm/main.go

    		parser := asm.NewParser(ctxt, architecture, lexer)
    		ctxt.DiagFunc = func(format string, args ...interface{}) {
    			diag = true
    			log.Printf(format, args...)
    		}
    		if *flags.SymABIs {
    			ok = parser.ParseSymABIs(buf)
    		} else {
    			pList := new(obj.Plist)
    			pList.Firstpc, ok = parser.Parse()
    			// reports errors to parser.Errorf
    			if ok {
    				obj.Flushplist(ctxt, pList, nil)
    			}
    		}
    		if !ok {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    	}
    	if p.errorCount > 0 {
    		return nil, false
    	}
    	p.patch()
    	return p.firstProg, true
    }
    
    // ParseSymABIs parses p's assembly code to find text symbol
    // definitions and references and writes a symabis file to w.
    func (p *Parser) ParseSymABIs(w io.Writer) bool {
    	operands := make([][]lex.Token, 0, 3)
    	for {
    		word, _, operands1, ok := p.line(operands)
    		if !ok {
    			break
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top