Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 589 for ctxt (0.11 sec)

  1. src/cmd/link/internal/wasm/asm.go

    	ctxt.Out.Write([]byte{0x01, 0x00, 0x00, 0x00}) // version
    
    	// Add any buildid early in the binary:
    	if len(buildid) != 0 {
    		writeBuildID(ctxt, buildid)
    	}
    
    	writeTypeSec(ctxt, types)
    	writeImportSec(ctxt, hostImports)
    	writeFunctionSec(ctxt, fns)
    	writeTableSec(ctxt, fns)
    	writeMemorySec(ctxt, ldr)
    	writeGlobalSec(ctxt)
    	writeExportSec(ctxt, ldr, len(hostImports))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. src/cmd/internal/dwarf/dwarf.go

    	case DW_FORM_block1: // block
    		if cls == DW_CLS_ADDRESS {
    			ctxt.AddInt(s, 1, int64(1+ctxt.PtrSize()))
    			ctxt.AddInt(s, 1, DW_OP_addr)
    			ctxt.AddAddress(s, data, 0)
    			break
    		}
    
    		value &= 0xff
    		ctxt.AddInt(s, 1, value)
    		p := data.([]byte)[:value]
    		ctxt.AddBytes(s, p)
    
    	case DW_FORM_block2: // block
    		value &= 0xffff
    
    		ctxt.AddInt(s, 2, value)
    		p := data.([]byte)[:value]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/pcln.go

    			}
    			return header.SetUintptr(ctxt.Arch, off, uintptr(diff))
    		}
    
    		// Write header.
    		// Keep in sync with runtime/symtab.go:pcHeader and package debug/gosym.
    		header.SetUint32(ctxt.Arch, 0, 0xfffffff1)
    		header.SetUint8(ctxt.Arch, 6, uint8(ctxt.Arch.MinLC))
    		header.SetUint8(ctxt.Arch, 7, uint8(ctxt.Arch.PtrSize))
    		off := header.SetUint(ctxt.Arch, 8, uint64(state.nfunc))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/link/internal/ld/macho.go

    	relocSect(ctxt, Segtext.Sections[0], ctxt.Textp)
    	for _, sect := range Segtext.Sections[1:] {
    		if sect.Name == ".text" {
    			relocSect(ctxt, sect, ctxt.Textp)
    		} else {
    			relocSect(ctxt, sect, ctxt.datap)
    		}
    	}
    	for _, sect := range Segrelrodata.Sections {
    		relocSect(ctxt, sect, ctxt.datap)
    	}
    	for _, sect := range Segdata.Sections {
    		relocSect(ctxt, sect, ctxt.datap)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/objfile.go

    		objabi.SDWARFVAR:
    	default:
    		return
    	}
    	ctxt.writeSymDebugNamed(aux, "aux for "+par.Name)
    }
    
    func debugAsmEmit(ctxt *Link) {
    	if ctxt.Debugasm > 0 {
    		ctxt.traverseSyms(traverseDefs, ctxt.writeSymDebug)
    		if ctxt.Debugasm > 1 {
    			fn := func(par *LSym, aux *LSym) {
    				writeAuxSymDebug(ctxt, par, aux)
    			}
    			ctxt.traverseAuxSyms(traverseAux, fn)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/elf.go

    //	} Elf_Internal_ABIFlags_v0;
    func elfWriteMipsAbiFlags(ctxt *Link) int {
    	sh := elfshname(".MIPS.abiflags")
    	ctxt.Out.SeekSet(int64(sh.Off))
    	ctxt.Out.Write16(0) // version
    	ctxt.Out.Write8(32) // isaLevel
    	ctxt.Out.Write8(1)  // isaRev
    	ctxt.Out.Write8(1)  // gprSize
    	ctxt.Out.Write8(1)  // cpr1Size
    	ctxt.Out.Write8(0)  // cpr2Size
    	if buildcfg.GOMIPS == "softfloat" {
    		ctxt.Out.Write8(MIPS_FPABI_SOFT) // fpAbi
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/compile/internal/types2/instantiate.go

    	// recorded in expanding.inst.ctxt.
    	var ctxts []*Context
    	if expanding != nil {
    		ctxts = append(ctxts, expanding.inst.ctxt)
    	}
    	if ctxt != nil {
    		ctxts = append(ctxts, ctxt)
    	}
    	assert(len(ctxts) > 0)
    
    	// Compute all hashes; hashes may differ across contexts due to different
    	// unique IDs for Named types within the hasher.
    	hashes := make([]string, len(ctxts))
    	for i, ctxt := range ctxts {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/main.go

    	bench.Start("mangleTypeSym")
    	ctxt.mangleTypeSym()
    
    	if ctxt.IsELF {
    		bench.Start("doelf")
    		ctxt.doelf()
    	}
    	if ctxt.IsDarwin() {
    		bench.Start("domacho")
    		ctxt.domacho()
    	}
    	if ctxt.IsWindows() {
    		bench.Start("dope")
    		ctxt.dope()
    		bench.Start("windynrelocsyms")
    		ctxt.windynrelocsyms()
    	}
    	if ctxt.IsAIX() {
    		bench.Start("doxcoff")
    		ctxt.doxcoff()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top