Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 184 for ctxt (0.05 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/link/internal/ld/symtab.go

    	ctxt.xdefine("runtime.rodata", sym.SRODATA, 0)
    	ctxt.xdefine("runtime.erodata", sym.SRODATA, 0)
    	ctxt.xdefine("runtime.types", sym.SRODATA, 0)
    	ctxt.xdefine("runtime.etypes", sym.SRODATA, 0)
    	ctxt.xdefine("runtime.noptrdata", sym.SNOPTRDATA, 0)
    	ctxt.xdefine("runtime.enoptrdata", sym.SNOPTRDATA, 0)
    	ctxt.xdefine("runtime.data", sym.SDATA, 0)
    	ctxt.xdefine("runtime.edata", sym.SDATA, 0)
    	ctxt.xdefine("runtime.bss", sym.SBSS, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/go.go

    	// Add dynamic symbols.
    	for _, s := range ctxt.dynexp {
    		// Consistency check.
    		if !ctxt.loader.AttrReachable(s) {
    			panic("dynexp entry not reachable")
    		}
    
    		Adddynsym(ctxt.loader, &ctxt.Target, &ctxt.ArchSyms, s)
    	}
    
    	for _, lib := range dedupLibraries(ctxt, dynlib) {
    		adddynlib(ctxt, lib)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/internal/obj/dwarf.go

    	}
    	varSym.NewVarInfo().dwarfInfoSym = dieSym
    	ctxt.Data = append(ctxt.Data, dieSym)
    	typeSym := ctxt.Lookup(dwarf.InfoPrefix + typename)
    	dwarf.PutGlobal(dwCtxt{ctxt}, dieSym, typeSym, varSym, varname)
    }
    
    func (ctxt *Link) DwarfAbstractFunc(curfn Func, s *LSym) {
    	absfn := ctxt.DwFixups.AbsFuncDwarfSym(s)
    	if absfn.Size != 0 {
    		ctxt.Diag("internal error: DwarfAbstractFunc double process %v", s)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:40:28 UTC 2023
    - 22K 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