Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 875 for ctxt (0.07 sec)

  1. src/cmd/asm/main.go

    	}
    	ctxt := obj.Linknew(architecture.LinkArch)
    	ctxt.Debugasm = flags.PrintOut
    	ctxt.Debugvlog = flags.DebugV
    	ctxt.Flag_dynlink = *flags.Dynlink
    	ctxt.Flag_linkshared = *flags.Linkshared
    	ctxt.Flag_shared = *flags.Shared || *flags.Dynlink
    	ctxt.Flag_maymorestack = flags.DebugFlags.MayMoreStack
    	ctxt.Debugpcln = flags.DebugFlags.PCTab
    	ctxt.IsAsm = true
    	ctxt.Pkgpath = *flags.Importpath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/go/types/context.go

    		}
    	}
    
    	ctxt.typeMap[h] = append(ctxt.typeMap[h], ctxtEntry{
    		orig:     orig,
    		targs:    targs,
    		instance: inst,
    	})
    
    	return inst
    }
    
    // getID returns a unique ID for the type t.
    func (ctxt *Context) getID(t Type) int {
    	ctxt.mu.Lock()
    	defer ctxt.mu.Unlock()
    	id, ok := ctxt.originIDs[t]
    	if !ok {
    		id = ctxt.nextID
    		ctxt.originIDs[t] = id
    		ctxt.nextID++
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/config.go

    }
    
    // determineLinkMode sets ctxt.LinkMode.
    //
    // It is called after flags are processed and inputs are processed,
    // so the ctxt.LinkMode variable has an initial value from the -linkmode
    // flag and the iscgo, externalobj, and unknownObjFormat variables are set.
    func determineLinkMode(ctxt *Link) {
    	extNeeded, extReason := mustLinkExternal(ctxt)
    	via := ""
    
    	if ctxt.LinkMode == LinkAuto {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:14:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/seh.go

    	"cmd/link/internal/sym"
    )
    
    var sehp struct {
    	pdata []sym.LoaderSym
    	xdata []sym.LoaderSym
    }
    
    func writeSEH(ctxt *Link) {
    	switch ctxt.Arch.Family {
    	case sys.AMD64:
    		writeSEHAMD64(ctxt)
    	}
    }
    
    func writeSEHAMD64(ctxt *Link) {
    	ldr := ctxt.loader
    	mkSecSym := func(name string, kind sym.SymKind) *loader.SymbolBuilder {
    		s := ldr.CreateSymForUpdate(name, 0)
    		s.SetType(kind)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/line_test.go

    	}
    
    	for _, test := range tests {
    		fileIndex, line := ctxt.getFileIndexAndLine(ctxt.PosTable.XPos(test.pos))
    
    		file := "??"
    		if fileIndex >= 0 {
    			file = ctxt.PosTable.FileTable()[fileIndex]
    		}
    		got := fmt.Sprintf("%s:%d", file, line)
    
    		if got != test.want {
    			t.Errorf("ctxt.getFileSymbolAndLine(%v) = %q, want %q", test.pos, got, test.want)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/runtime/export_debug_ppc64le_test.go

    	ctxt.set_pc(ctxt.pc() + 4)
    }
    
    // case 8
    func (h *debugCallHandler) debugCallUnsafe(ctxt *sigctxt) {
    	sp := ctxt.sp()
    	reason := *(*string)(unsafe.Pointer(uintptr(sp) + 40))
    	h.err = plainError(reason)
    	ctxt.set_pc(ctxt.pc() + 4)
    }
    
    // case 16
    func (h *debugCallHandler) restoreSigContext(ctxt *sigctxt) {
    	// Restore all registers except for pc and sp
    	pc, sp := ctxt.pc(), ctxt.sp()
    	*ctxt.cregs() = h.sigCtxt.savedRegs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. src/runtime/export_debug_test.go

    		return false
    	}
    	if !sigctxtAtTrapInstruction(ctxt) {
    		println("trap at non-INT3 instruction pc =", hex(ctxt.sigpc()))
    		return false
    	}
    
    	switch status := sigctxtStatus(ctxt); status {
    	case 0:
    		// Frame is ready. Copy the arguments to the frame and to registers.
    		// Call the debug function.
    		h.debugCallRun(ctxt)
    	case 1:
    		// Function returned. Copy frame and result registers back out.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/context.go

    		}
    	}
    
    	ctxt.typeMap[h] = append(ctxt.typeMap[h], ctxtEntry{
    		orig:     orig,
    		targs:    targs,
    		instance: inst,
    	})
    
    	return inst
    }
    
    // getID returns a unique ID for the type t.
    func (ctxt *Context) getID(t Type) int {
    	ctxt.mu.Lock()
    	defer ctxt.mu.Unlock()
    	id, ok := ctxt.originIDs[t]
    	if !ok {
    		id = ctxt.nextID
    		ctxt.originIDs[t] = id
    		ctxt.nextID++
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:29:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/ld.go

    	if ctxt.BuildMode == BuildModePlugin {
    		ctxt.Textp = append(ctxt.Textp, amd)
    	}
    	ctxt.Textp = append(ctxt.Textp, initfunc.Sym())
    
    	// Create an init array entry
    	amdi := ctxt.loader.LookupOrCreateSym("go:link.addmoduledatainit", 0)
    	initarray_entry := ctxt.loader.MakeSymbolUpdater(amdi)
    	ctxt.loader.SetAttrReachable(amdi, true)
    	ctxt.loader.SetAttrLocal(amdi, true)
    	initarray_entry.SetType(sym.SINITARR)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/line.go

    package obj
    
    import (
    	"cmd/internal/goobj"
    	"cmd/internal/src"
    )
    
    // AddImport adds a package to the list of imported packages.
    func (ctxt *Link) AddImport(pkg string, fingerprint goobj.FingerprintType) {
    	ctxt.Imports = append(ctxt.Imports, goobj.ImportedPkg{Pkg: pkg, Fingerprint: fingerprint})
    }
    
    // getFileIndexAndLine returns the relative file index (local to the CU), and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 892 bytes
    - Viewed (0)
Back to top