Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,875 for ctxt (0.13 sec)

  1. src/cmd/internal/obj/loong64/obj.go

    				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")
    					}
    				}
    			}
    		}
    	}
    }
    
    func (c *ctxt0) stacksplit(p *obj.Prog, framesize int32) *obj.Prog {
    	var mov, add obj.As
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:22:18 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/internal/obj/x86/asm6.go

    	}
    	return true
    }
    
    func span6(ctxt *obj.Link, s *obj.LSym, newprog obj.ProgAlloc) {
    	if ctxt.Retpoline && ctxt.Arch.Family == sys.I386 {
    		ctxt.Diag("-spectre=ret not supported on 386")
    		ctxt.Retpoline = false // don't keep printing
    	}
    
    	pjc := makePjcCtx(ctxt)
    
    	if s.P != nil {
    		return
    	}
    
    	if ycover[0] == 0 {
    		ctxt.Diag("x86 tables not initialized, call x86.instinit first")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/internal/obj/x86/obj6.go

    			p.From.Name = obj.NAME_EXTERN
    			p.From.Sym = ctxt.Float64Sym(f64)
    			p.From.Offset = 0
    		}
    	}
    
    	if ctxt.Flag_dynlink {
    		rewriteToUseGot(ctxt, p, newprog)
    	}
    
    	if ctxt.Flag_shared && ctxt.Arch.Family == sys.I386 {
    		rewriteToPcrel(ctxt, p, newprog)
    	}
    }
    
    // Rewrite p, if necessary, to access global data via the global offset table.
    func rewriteToUseGot(ctxt *obj.Link, p *obj.Prog, newprog obj.ProgAlloc) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  6. src/runtime/export_debug_amd64_test.go

    	reason := *(*string)(unsafe.Pointer(uintptr(rsp)))
    	h.err = plainError(reason)
    }
    
    // case 16
    func (h *debugCallHandler) restoreSigContext(ctxt *sigctxt) {
    	// Restore all registers except RIP and RSP.
    	rip, rsp := ctxt.rip(), ctxt.rsp()
    	fp := ctxt.regs().fpstate
    	*ctxt.regs() = h.sigCtxt.savedRegs
    	ctxt.regs().fpstate = fp
    	*fp = h.sigCtxt.savedFP
    	ctxt.set_rip(rip)
    	ctxt.set_rsp(rsp)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/internal/obj/pcln.go

    		dst = append(dst, buf[:n]...)
    		oldval = val
    		started = true
    		val = valfunc(ctxt, func_, val, p, 1, arg)
    	}
    
    	if started {
    		if dbg {
    			ctxt.Logf("%6x done\n", uint64(fn.Text.Pc+func_.Size))
    		}
    		v := (func_.Size - pc) / int64(ctxt.Arch.MinLC)
    		if v < 0 {
    			ctxt.Diag("negative pc offset: %v", v)
    		}
    		n := binary.PutUvarint(buf, uint64(v))
    		dst = append(dst, buf[:n]...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/link/internal/ld/inittask.go

    		sb.AddAddr(ctxt.Arch, t)
    		sb.AddUint(ctxt.Arch, uint64(ldr.SymSize(t)/int64(ctxt.Arch.PtrSize)))
    		sb.AddUint(ctxt.Arch, uint64(ldr.SymSize(t)/int64(ctxt.Arch.PtrSize)))
    	}
    }
    
    // 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top