Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 209 for symname (0.13 sec)

  1. src/plugin/plugin.go

    	return open(path)
    }
    
    // Lookup searches for a symbol named symName in plugin p.
    // A symbol is any exported variable or function.
    // It reports an error if the symbol is not found.
    // It is safe for concurrent use by multiple goroutines.
    func (p *Plugin) Lookup(symName string) (Symbol, error) {
    	return lookup(p, symName)
    }
    
    // A Symbol is a pointer to a variable or function.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:46:10 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/inittask.go

    	}
    }
    
    // inittaskSym builds a symbol containing pointers to all the inittasks
    // that need to be run, given a list of root inittask symbols.
    func (ctxt *Link) inittaskSym(rootNames []string, symName string) loader.Sym {
    	ldr := ctxt.loader
    	var roots []loader.Sym
    	for _, n := range rootNames {
    		p := ldr.Lookup(n, 0)
    		if p != 0 {
    			roots = append(roots, p)
    		}
    	}
    	if len(roots) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/runtime/plugin.go

    	syms = make(map[string]any, len(md.ptab))
    	for _, ptab := range md.ptab {
    		symName := resolveNameOff(unsafe.Pointer(md.types), ptab.name)
    		t := toRType((*_type)(unsafe.Pointer(md.types))).typeOff(ptab.typ) // TODO can this stack of conversions be simpler?
    		var val any
    		valp := (*[2]unsafe.Pointer)(unsafe.Pointer(&val))
    		(*valp)[0] = unsafe.Pointer(t)
    
    		name := symName.Name()
    		if t.Kind_&abi.KindMask == abi.Func {
    			name = "." + name
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/seh.go

    	// which are very similar across functions.
    	// Dedup them when possible.
    	hash := base64.StdEncoding.EncodeToString(buf.data)
    	symname := fmt.Sprintf("%d.%s", len(buf.data), hash)
    	return ctxt.LookupInit("go:sehuw."+symname, func(s *obj.LSym) {
    		s.WriteBytes(ctxt, 0, buf.data)
    		s.Type = objabi.SSEHUNWINDINFO
    		s.Set(obj.AttrDuplicateOK, true)
    		s.Set(obj.AttrLocal, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/seh.go

    	for _, s := range ctxt.Textp {
    		if fi := ldr.FuncInfo(s); !fi.Valid() {
    			continue
    		}
    		uw := ldr.SEHUnwindSym(s)
    		if uw == 0 {
    			continue
    		}
    		name := ctxt.SymName(uw)
    		off, cached := uwcache[name]
    		if !cached {
    			off = xdata.Size()
    			uwcache[name] = off
    			xdata.AddBytes(ldr.Data(uw))
    			// The SEH unwind data can contain relocations,
    			// make sure those are copied over.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/mips/asm.go

    		if t&3 != 0 {
    			ldr.Errorf(s, "direct call is not aligned: %s %x", ldr.SymName(rs), t)
    		}
    
    		// check if target address is in the same 256 MB region as the next instruction
    		if (ldr.SymValue(s)+int64(r.Off())+4)&0xf0000000 != (t & 0xf0000000) {
    			ldr.Errorf(s, "direct call too far: %s %x", ldr.SymName(rs), t)
    		}
    
    		return applyrel(target.Arch, ldr, rt, r.Off(), s, val, t), noExtReloc, isOk
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loadpe/seh.go

    	// https://learn.microsoft.com/en-us/cpp/build/exception-handling-x64#struct-runtime_function
    	rels := ldr.Relocs(pdata)
    	if rels.Count()%3 != 0 {
    		return fmt.Errorf(".pdata symbol %q has invalid relocation count", ldr.SymName(pdata))
    	}
    	for i := 0; i < rels.Count(); i += 3 {
    		xrel := rels.At(i + 2)
    		handler := findHandlerInXDataAMD64(ldr, xrel.Sym(), xrel.Add())
    		if handler != 0 {
    			sb := ldr.MakeSymbolUpdater(rels.At(i).Sym())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 16:20:28 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. src/cmd/link/internal/loadxcoff/ldxcoff.go

    			continue
    		}
    
    		s := l.LookupOrCreateSym(sx.Name, 0)
    
    		// Text symbol
    		if l.SymType(s) == sym.STEXT {
    			if l.AttrOnList(s) {
    				return errorf("symbol %s listed multiple times", l.SymName(s))
    			}
    			l.SetAttrOnList(s, true)
    			textp = append(textp, s)
    		}
    	}
    
    	// Read relocations
    	for _, sect := range ldSections {
    		// TODO(aix): Dwarf section relocation if needed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loong64/asm.go

    			rs, _ := ld.FoldSubSymbolOffset(ldr, rs)
    			rst := ldr.SymType(rs)
    			if rst != sym.SHOSTOBJ && rst != sym.SDYNIMPORT && ldr.SymSect(rs) == nil {
    				ldr.Errorf(s, "missing section for %s", ldr.SymName(rs))
    			}
    			return val, 1, true
    		case objabi.R_LOONG64_TLS_LE_HI,
    			objabi.R_LOONG64_TLS_LE_LO,
    			objabi.R_CALLLOONG64,
    			objabi.R_JMPLOONG64,
    			objabi.R_LOONG64_TLS_IE_HI,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors.mlir

      "tf_saved_model.global_tensor"() { sym_name = "exported_unbound", tf_saved_model.exported_names = ["exported_unbound"], type = tensor<f32>, value = dense<42.> : tensor<f32> } : () -> ()
      // CHECK: sym_name = "exported_unbound"
    
      // Test case: Check that a global tensor that isn't even bound to an argument
      // is erased.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top