Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for cmpsym (0.12 sec)

  1. src/cmd/compile/internal/types/type.go

    	if x == t {
    		return CMPeq
    	}
    	return t.cmp(x)
    }
    
    func cmpForNe(x bool) Cmp {
    	if x {
    		return CMPlt
    	}
    	return CMPgt
    }
    
    func (r *Sym) cmpsym(s *Sym) Cmp {
    	if r == s {
    		return CMPeq
    	}
    	if r == nil {
    		return CMPlt
    	}
    	if s == nil {
    		return CMPgt
    	}
    	// Fast sort, not pretty sort
    	if len(r.Name) != len(s.Name) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/loong64/asm.go

    				}
    			}
    
    			pc += int64(m)
    		}
    
    		c.cursym.Size = pc
    
    		if !rescan {
    			break
    		}
    	}
    
    	pc += -pc & (FuncAlign - 1)
    	c.cursym.Size = pc
    
    	// lay out the code, emitting code and data relocations.
    
    	c.cursym.Grow(c.cursym.Size)
    
    	bp := c.cursym.P
    	var i int32
    	var out [5]uint32
    	for p := c.cursym.Func().Text.Link; p != nil; p = p.Link {
    		c.pc = p.Pc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/riscv/obj.go

    // concrete, real RISC-V instructions or directive pseudo-ops like TEXT,
    // PCDATA, and FUNCDATA.
    func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
    	if cursym.Func().Text == nil || cursym.Func().Text.Link == nil {
    		return
    	}
    
    	// Generate the prologue.
    	text := cursym.Func().Text
    	if text.As != obj.ATEXT {
    		ctxt.Diag("preprocess: found symbol that does not start with TEXT directive")
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/mips/asm0.go

    			}
    
    			pc += int64(m)
    		}
    
    		c.cursym.Size = pc
    	}
    	if c.ctxt.Arch.Family == sys.MIPS64 {
    		pc += -pc & (mips64FuncAlign - 1)
    	}
    	c.cursym.Size = pc
    
    	/*
    	 * lay out the code, emitting code and data relocations.
    	 */
    
    	c.cursym.Grow(c.cursym.Size)
    
    	bp := c.cursym.P
    	var i int32
    	var out [4]uint32
    	for p := c.cursym.Func().Text.Link; p != nil; p = p.Link {
    		c.pc = p.Pc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/xcoff.go

    	C_EINCL   = 109 // End of include file
    	C_WEAKEXT = 111 // Weak external symbol
    	C_DWARF   = 112 // DWARF symbol
    	C_GSYM    = 128 // Global variable
    	C_LSYM    = 129 // Automatic variable allocated on stack
    	C_PSYM    = 130 // Argument to subroutine allocated on stack
    	C_RSYM    = 131 // Register variable
    	C_RPSYM   = 132 // Argument to function or procedure stored in register
    	C_STSYM   = 133 // Statically allocated symbol
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm/asm5.go

    	 * code references to be relocated too, and then
    	 * perhaps we'd be able to parallelize the span loop above.
    	 */
    
    	p = c.cursym.Func().Text
    	c.autosize = p.To.Offset + 4
    	c.cursym.Grow(c.cursym.Size)
    
    	bp := c.cursym.P
    	pc = int32(p.Pc) // even p->link might need extra padding
    	var v int
    	for p = p.Link; p != nil; p = p.Link {
    		c.pc = p.Pc
    		o = c.oplook(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/lib.go

    			dup := ldr.Lookup(newName, ldr.SymVersion(s))
    			if dup != 0 {
    				st := ldr.SymType(s)
    				dt := ldr.SymType(dup)
    				if st == sym.Sxxx && dt != sym.Sxxx {
    					ldr.CopySym(dup, s)
    				}
    			}
    		}
    	}
    }
    
    // typeSymbolMangle mangles the given symbol name into something shorter.
    //
    // Keep the type:. prefix, which parts of the linker (like the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/loader/loader.go

    // the original symbol name whereas the shared library provides a symbol with
    // the mangled name. When we do mangling, we copy payload of mangled to original.
    func (l *Loader) CopySym(src, dst Sym) {
    	if !l.IsExternal(dst) {
    		panic("dst is not external") //l.newExtSym(l.SymName(dst), l.SymVersion(dst))
    	}
    	if !l.IsExternal(src) {
    		panic("src is not external") //l.cloneToExternal(src)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
Back to top