- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 120 for kldsym (0.22 sec)
-
src/cmd/link/internal/ld/pcln.go
fdsym = 0 } if fdsym == 0 { sb.SetUint32(ctxt.Arch, dataoff, ^uint32(0)) // ^0 is a sentinel for "no value" continue } if outer := ldr.OuterSym(fdsym); outer != gofunc { panic(fmt.Sprintf("bad carrier sym for symbol %s (funcdata %s#%d), want go:func.* got %s", ldr.SymName(fdsym), ldr.SymName(s), j, ldr.SymName(outer))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0) -
src/runtime/cgo/gcc_android.c
if (handle == NULL) { fatalf("inittls: failed to dlopen main program"); return; } // android_get_device_api_level is introduced in Android Q, so its mere presence // is enough. get_ver = dlsym(handle, "android_get_device_api_level"); dlclose(handle); if (get_ver != NULL) { off = (void *)(TLS_SLOT_APP*sizeof(void *)); // tlsg is initialized to Q's free TLS slot. Verify it while we're here. if (*tlsg != off) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 09 23:17:17 UTC 2020 - 2.6K bytes - Viewed (0) -
src/cmd/compile/internal/liveness/plive.go
} nbitmap := 1 if fn.Type().NumResults() > 0 { nbitmap = 2 } lsym := base.Ctxt.Lookup(fn.LSym.Name + ".args_stackmap") lsym.Set(obj.AttrLinkname, true) // allow args_stackmap referenced from assembly off := objw.Uint32(lsym, 0, uint32(nbitmap)) off = objw.Uint32(lsym, off, uint32(bv.N)) off = objw.BitVec(lsym, off, bv) if fn.Type().NumResults() > 0 { for _, p := range abiInfo.OutParams() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 45.2K bytes - Viewed (0) -
src/cmd/link/internal/mips64/asm.go
// sym uint32 // ssym uint8 // type3 uint8 // type2 uint8 // type uint8 // addend int64 addend := r.Xadd out.Write64(uint64(sectoff)) elfsym := ld.ElfSymForReloc(ctxt, r.Xsym) out.Write32(uint32(elfsym)) out.Write8(0) out.Write8(0) out.Write8(0) switch r.Type { default: return false case objabi.R_ADDR, objabi.R_DWARFSECREF: switch r.Size { case 4:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 11K bytes - Viewed (0) -
src/cmd/internal/obj/sizeof_test.go
var tests = []struct { val interface{} // type as a value _32bit uintptr // size on 32bit platforms _64bit uintptr // size on 64bit platforms }{ {Addr{}, 32, 48}, {LSym{}, 72, 120}, {Prog{}, 132, 200}, } for _, tt := range tests { want := tt._32bit if _64bit { want = tt._64bit } got := reflect.TypeOf(tt.val).Size() if want != got {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 13 23:38:08 UTC 2020 - 824 bytes - Viewed (0) -
src/plugin/plugin_dlopen.go
void* h = dlopen(path, RTLD_NOW|RTLD_GLOBAL); if (h == NULL) { *err = (char*)dlerror(); } return (uintptr_t)h; } static void* pluginLookup(uintptr_t h, const char* name, char** err) { void* r = dlsym((void*)h, name); if (r == NULL) { *err = (char*)dlerror(); } return r; } */ import "C" import ( "errors" "sync" "unsafe" ) func open(name string) (*Plugin, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 16:55:22 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/compile/internal/walk/range.go
keysym := th.Field(0).Sym elemsym := th.Field(1).Sym // ditto fn := typecheck.LookupRuntime("mapiterinit", t.Key(), t.Elem(), th) init = append(init, mkcallstmt1(fn, reflectdata.RangeMapRType(base.Pos, nrange), ha, typecheck.NodAddr(hit))) nfor.Cond = ir.NewBinaryExpr(base.Pos, ir.ONE, ir.NewSelectorExpr(base.Pos, ir.ODOT, hit, keysym), typecheck.NodNil())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:33 UTC 2023 - 17.6K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
} func makeTypeAssertDescriptor(target *types.Type, canFail bool) *obj.LSym { // When converting from an interface to a non-empty interface. Needs a runtime call. // Allocate an internal/abi.TypeAssert descriptor for that call. lsym := types.LocalPkg.Lookup(fmt.Sprintf(".typeAssert.%d", typeAssertGen)).LinksymABI(obj.ABI0) typeAssertGen++ c := rttype.NewCursor(lsym, 0, rttype.TypeAssert)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 27.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/badsym_test.go
cBadObj := filepath.Join(godir, "cbad.o") rewrite(cObj, cBadObj) goSourceBadObject := strings.ReplaceAll(goSource, "TMPDIR", godir) makeFile(godir, "go.go", goSourceBadObject) makeFile(godir, "go.mod", "module badsym") // Try to build our little package. cmd := exec.Command("go", "build", "-ldflags=-v") cmd.Dir = godir output, err := cmd.CombinedOutput() // The build should fail, but we want it to fail because we
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 5.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho_combine_dwarf.go
// exem is the macho representation of exef. // dsym is the path to the macho file containing DWARF from dsymutil. // outexe is the path where the combined executable should be saved. func machoCombineDwarf(ctxt *Link, exef *os.File, exem *macho.File, dsym, outexe string) error { dwarff, err := os.Open(dsym) if err != nil { return err } defer dwarff.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 13.3K bytes - Viewed (0)