Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for symabi (0.13 sec)

  1. src/cmd/compile/internal/ssagen/abi.go

    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/obj/wasm"
    )
    
    // SymABIs records information provided by the assembler about symbol
    // definition ABIs and reference ABIs.
    type SymABIs struct {
    	defs map[string]obj.ABI
    	refs map[string]obj.ABISet
    }
    
    func NewSymABIs() *SymABIs {
    	return &SymABIs{
    		defs: make(map[string]obj.ABI),
    		refs: make(map[string]obj.ABISet),
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. src/runtime/symtab.go

    }
    
    // moduledata records information about the layout of the executable
    // image. It is written by the linker. Any changes here must be
    // matched changes to the code in cmd/link/internal/ld/symtab.go:symtab.
    // moduledata is stored in statically allocated non-pointer memory;
    // none of the pointers here are visible to the garbage collector.
    type moduledata struct {
    	sys.NotInHeap // Only in static data
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/macho.go

    			symtab.AddUint8(0x01)                             // type N_EXT, external symbol
    			symtab.AddUint8(0)                                // no section
    			symtab.AddUint16(ctxt.Arch, 0)                    // desc
    			symtab.AddUintXX(ctxt.Arch, 0, ctxt.Arch.PtrSize) // no value
    		} else {
    			if export || ldr.AttrCgoExportDynamic(s) {
    				symtab.AddUint8(0x0f) // N_SECT | N_EXT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

    import org.jetbrains.kotlin.fir.symbols.impl.FirClassSymbol
    import org.jetbrains.kotlin.fir.symbols.lazyResolveToPhaseWithCallableMembers
    import org.jetbrains.kotlin.fir.types.typeApproximator
    import org.jetbrains.kotlin.load.java.JvmAbi
    import org.jetbrains.kotlin.load.kotlin.NON_EXISTENT_CLASS_NAME
    import org.jetbrains.kotlin.load.kotlin.header.KotlinClassHeader
    import org.jetbrains.kotlin.metadata.jvm.deserialization.JvmProtoBufUtil
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/main.go

    	pclnState := ctxt.pclntab(containers)
    	bench.Start("findfunctab")
    	ctxt.findfunctab(pclnState, containers)
    	bench.Start("dwarfGenerateDebugSyms")
    	dwarfGenerateDebugSyms(ctxt)
    	bench.Start("symtab")
    	symGroupType := ctxt.symtab(pclnState)
    	bench.Start("dodata")
    	ctxt.dodata(symGroupType)
    	bench.Start("address")
    	order := ctxt.address()
    	bench.Start("dwarfcompress")
    	dwarfcompress(ctxt)
    	bench.Start("layout")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/cmd/link/link_test.go

    	testenv.WriteImportcfg(t, importcfgfile, nil, "runtime")
    
    	// Compile, assemble and pack the Go and C code.
    	runGo("tool", "asm", "-p=main", "-gensymabis", "-o", "symabis", "x.s")
    	runGo("tool", "compile", "-importcfg="+importcfgfile, "-symabis", "symabis", "-p=main", "-o", "x1.o", "main.go")
    	runGo("tool", "asm", "-p=main", "-o", "x2.o", "x.s")
    	run(cc, append(cflags, "-c", "-o", "x3.o", "x.c")...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/objfile.go

    			default:
    				align = 1
    			}
    		}
    	}
    	if s.Size > cutoff {
    		w.ctxt.Diag("%s: symbol too large (%d bytes > %d bytes)", s.Name, s.Size, cutoff)
    	}
    	o := &w.tmpSym
    	o.SetName(name, w.Writer)
    	o.SetABI(abi)
    	o.SetType(uint8(s.Type))
    	o.SetFlag(flag)
    	o.SetFlag2(flag2)
    	o.SetSiz(uint32(s.Size))
    	o.SetAlign(align)
    	o.Write(w.Writer)
    }
    
    func (w *writer) Hash64(s *LSym) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top