- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,931 for ctxt (0.22 sec)
-
src/cmd/internal/obj/ppc64/obj9.go
f := c.cursym.Func() if f.FuncFlag&abi.FuncFlagSPWrite == 0 { c.cursym.Func().FuncFlag |= abi.FuncFlagSPWrite if ctxt.Debugvlog || !ctxt.IsAsm { ctxt.Logf("auto-SPWRITE: %s %v\n", c.cursym.Name, p) if !ctxt.IsAsm { ctxt.Diag("invalid auto-SPWRITE in non-assembly") ctxt.DiagFlush() log.Fatalf("bad SPWRITE") } } } } } } /*
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 40.8K bytes - Viewed (0) -
src/cmd/link/internal/x86/asm.go
"cmd/link/internal/ld" "cmd/link/internal/loader" "cmd/link/internal/sym" "debug/elf" "log" ) func gentext(ctxt *ld.Link, ldr *loader.Loader) { if ctxt.DynlinkingGo() { // We need get_pc_thunk. } else { switch ctxt.BuildMode { case ld.BuildModeCArchive: if !ctxt.IsELF { return } case ld.BuildModePIE, ld.BuildModeCShared, ld.BuildModePlugin: // We need get_pc_thunk. default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 13.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
} writeBlocks(ctxt, out, ctxt.outSem, ctxt.loader, syms, addr, size, zeros[:]) } func pdatablk(ctxt *Link, out *OutBuf, addr int64, size int64) { writeBlocks(ctxt, out, ctxt.outSem, ctxt.loader, sehp.pdata, addr, size, zeros[:]) } func xdatablk(ctxt *Link, out *OutBuf, addr int64, size int64) { writeBlocks(ctxt, out, ctxt.outSem, ctxt.loader, sehp.xdata, addr, size, zeros[:]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/cmd/link/internal/riscv64/asm.go
hi20Syms = append(hi20Syms, sb.Sym()) } } ctxt.Textp = append(ctxt.Textp, hi20Syms...) ldr.SortSyms(ctxt.Textp) } func findHI20Symbol(ctxt *ld.Link, ldr *loader.Loader, val int64) loader.Sym { idx := sort.Search(len(ctxt.Textp), func(i int) bool { return ldr.SymValue(ctxt.Textp[i]) >= val }) if idx >= len(ctxt.Textp) { return 0 } if s := ctxt.Textp[idx]; ldr.SymValue(s) == val && ldr.SymType(s) == sym.STEXT {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 01 08:06:08 UTC 2024 - 22.8K bytes - Viewed (0) -
src/go/build/build.go
// that do not exist. func (ctxt *Context) SrcDirs() []string { var all []string if ctxt.GOROOT != "" && ctxt.Compiler != "gccgo" { dir := ctxt.joinPath(ctxt.GOROOT, "src") if ctxt.isDir(dir) { all = append(all, dir) } } for _, p := range ctxt.gopath() { dir := ctxt.joinPath(p, "src") if ctxt.isDir(dir) { all = append(all, dir) } } return all
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0) -
src/cmd/link/internal/ld/decodesym.go
} return str } func decodetypeGcmask(ctxt *Link, s loader.Sym) []byte { if ctxt.loader.SymType(s) == sym.SDYNIMPORT { symData := ctxt.loader.Data(s) addr := decodetypeGcprogShlib(ctxt, symData) ptrdata := decodetypePtrdata(ctxt.Arch, symData) sect := findShlibSection(ctxt, ctxt.loader.SymPkg(s), addr) if sect != nil { bits := ptrdata / int64(ctxt.Arch.PtrSize) r := make([]byte, (bits+7)/8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 9.9K bytes - Viewed (0) -
src/runtime/sys_wasm.go
func wasmExit(code int32) // adjust Gobuf as it if executed a call to fn with context ctxt // and then stopped before the first instruction in fn. func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) { sp := buf.sp sp -= goarch.PtrSize *(*uintptr)(unsafe.Pointer(sp)) = buf.pc buf.sp = sp buf.pc = uintptr(fn) buf.ctxt = ctxt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 02 05:28:55 UTC 2023 - 758 bytes - Viewed (0) -
src/cmd/link/internal/ld/go_test.go
) func TestDedupLibraries(t *testing.T) { ctxt := &Link{} ctxt.Target.HeadType = objabi.Hlinux libs := []string{"libc.so", "libc.so.6"} got := dedupLibraries(ctxt, libs) if !reflect.DeepEqual(got, libs) { t.Errorf("dedupLibraries(%v) = %v, want %v", libs, got, libs) } } func TestDedupLibrariesOpenBSD(t *testing.T) { ctxt := &Link{} ctxt.Target.HeadType = objabi.Hopenbsd tests := []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:22:14 UTC 2022 - 2.7K bytes - Viewed (0) -
src/go/internal/srcimporter/srcimporter.go
// files; and imported packages are added to the packages map. func New(ctxt *build.Context, fset *token.FileSet, packages map[string]*types.Package) *Importer { return &Importer{ ctxt: ctxt, fset: fset, sizes: types.SizesFor(ctxt.Compiler, ctxt.GOARCH), // uses go/types default if GOARCH not found packages: packages, } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 18:54:32 UTC 2022 - 8.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/deadcode.go
// emits a relocation with the method name. Matching methods are kept in all // reachable types. // // Any unreached text symbols are removed from ctxt.Textp. func deadcode(ctxt *Link) { ldr := ctxt.loader d := deadcodePass{ctxt: ctxt, ldr: ldr} d.init() d.flood() if ctxt.DynlinkingGo() { // Exported methods may satisfy interfaces we don't know // about yet when dynamically linking. d.reflectSeen = true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 14:52:41 UTC 2024 - 19K bytes - Viewed (0)