Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for symabi (0.17 sec)

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

    	name := NewNameAt(npos, sym, typ)
    	name.Class = PFUNC
    	sym.SetFunc(true)
    
    	fn := &Func{Nname: name}
    	fn.pos = fpos
    	fn.op = ODCLFUNC
    	// Most functions are ABIInternal. The importer or symabis
    	// pass may override this.
    	fn.ABI = obj.ABIInternal
    	fn.SetTypecheck(1)
    
    	name.Func = fn
    
    	return fn
    }
    
    func (f *Func) isStmt() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/sym.go

    	case ABI0:
    		hash = ctxt.hash
    	case ABIInternal:
    		hash = ctxt.funchash
    	default:
    		panic("unknown ABI")
    	}
    
    	ctxt.hashmu.Lock()
    	s := hash[name]
    	if s == nil {
    		s = &LSym{Name: name}
    		s.SetABI(abi)
    		hash[name] = s
    		if init != nil {
    			init(s)
    		}
    	}
    	ctxt.hashmu.Unlock()
    	return s
    }
    
    // Lookup looks up the symbol with name name.
    // If it does not exist, it creates it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/lib.go

    	case sys.ARM64:
    		if buildcfg.GOOS == "darwin" {
    			return []string{"-arch", "arm64"}
    		}
    	case sys.Loong64:
    		return []string{"-mabi=lp64d"}
    	case sys.MIPS64:
    		return []string{"-mabi=64"}
    	case sys.MIPS:
    		return []string{"-mabi=32"}
    	case sys.PPC64:
    		if buildcfg.GOOS == "aix" {
    			return []string{"-maix64"}
    		} else {
    			return []string{"-m64"}
    		}
    
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/link.go

    			v &^= flag
    		}
    		if atomic.CompareAndSwapUint32((*uint32)(a), uint32(v0), uint32(v)) {
    			break
    		}
    	}
    }
    
    func (a *Attribute) ABI() ABI { return ABI(a.load() / attrABIBase) }
    func (a *Attribute) SetABI(abi ABI) {
    	const mask = 1 // Only one ABI bit for now.
    	for {
    		v0 := a.load()
    		v := (v0 &^ (mask * attrABIBase)) | Attribute(abi)*attrABIBase
    		if atomic.CompareAndSwapUint32((*uint32)(a), uint32(v0), uint32(v)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. src/cmd/link/internal/loader/loader.go

    	attrOnList           Bitmap // "on list" symbols, indexed by global index
    	attrLocal            Bitmap // "local" symbols, indexed by global index
    	attrNotInSymbolTable Bitmap // "not in symtab" symbols, indexed by global idx
    	attrUsedInIface      Bitmap // "used in interface" symbols, indexed by global idx
    	attrSpecial          Bitmap // "special" frame symbols, indexed by global idx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  6. src/go/doc/example.go

    // brackets, then it returns name with all the contents between (and including)
    // the outermost left and right bracket removed.
    //
    // Adapted from debug/gosym/symtab.go:Sym.nameWithoutInst.
    func nameWithoutInst(name string) string {
    	start := strings.Index(name, "[")
    	if start < 0 {
    		return name
    	}
    	end := strings.LastIndex(name, "]")
    	if end < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  7. src/cmd/internal/goobj/objfile.go

    func (s *Sym) SetName(x string, w *Writer) {
    	binary.LittleEndian.PutUint32(s[:], uint32(len(x)))
    	binary.LittleEndian.PutUint32(s[4:], w.stringOff(x))
    }
    
    func (s *Sym) SetABI(x uint16)   { binary.LittleEndian.PutUint16(s[8:], x) }
    func (s *Sym) SetType(x uint8)   { s[10] = x }
    func (s *Sym) SetFlag(x uint8)   { s[11] = x }
    func (s *Sym) SetFlag2(x uint8)  { s[12] = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/ppc64/obj9.go

    				// load of a large constant, and in that case there is no
    				// way to use r12 as the source.
    				//
    				// Note that the same condition is tested in
    				// putelfsym in cmd/link/internal/ld/symtab.go
    				// where we set the st_other field to indicate
    				// the presence of these instructions.
    				q = obj.Appendp(q, c.newprog)
    				q.As = AWORD
    				q.Pos = p.Pos
    				q.From.Type = obj.TYPE_CONST
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  9. src/runtime/runtime2.go

    )
    
    // Layout of in-memory per-function information prepared by linker
    // See https://golang.org/s/go12symtab.
    // Keep in sync with linker (../cmd/link/internal/ld/pcln.go:/pclntab)
    // and with package debug/gosym and with symtab.go in package runtime.
    type _func struct {
    	sys.NotInHeap // Only in static data
    
    	entryOff uint32 // start pc, as offset from moduledata.text/pcHeader.textStart
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Symbol.Desc", Field, 0},
    		{"Symbol.Name", Field, 0},
    		{"Symbol.Sect", Field, 0},
    		{"Symbol.Type", Field, 0},
    		{"Symbol.Value", Field, 0},
    		{"Symtab", Type, 0},
    		{"Symtab.LoadBytes", Field, 0},
    		{"Symtab.Syms", Field, 0},
    		{"Symtab.SymtabCmd", Field, 0},
    		{"SymtabCmd", Type, 0},
    		{"SymtabCmd.Cmd", Field, 0},
    		{"SymtabCmd.Len", Field, 0},
    		{"SymtabCmd.Nsyms", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top