Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for gopclntab (0.18 sec)

  1. src/cmd/link/internal/ld/elf_test.go

    					}
    				}
    			}
    		})
    	}
    }
    
    // This program is intended to be just big/complicated enough that
    // we wind up with decent-sized .data.rel.ro.{typelink,itablink,gopclntab}
    // sections.
    const ifacecallsProg = `
    package main
    
    import "reflect"
    
    type A string
    type B int
    type C float64
    
    type describer interface{ What() string }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/pcln.go

    	//
    	// As of August 2020, here's the layout of pclntab:
    	//
    	//  .gopclntab/__gopclntab [elf/macho section]
    	//    runtime.pclntab
    	//      Carrier symbol for the entire pclntab section.
    	//
    	//      runtime.pcheader  (see: runtime/symtab.go:pcHeader)
    	//        8-byte magic
    	//        nfunc [thearch.ptrsize bytes]
    	//        offset to runtime.funcnametab from the beginning of runtime.pcheader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  3. src/debug/gosym/pclntab.go

    // detail of the package; callers should use the methods on [Table] instead.
    type LineTable struct {
    	Data []byte
    	PC   uint64
    	Line int
    
    	// This mutex is used to keep parsing of pclntab synchronous.
    	mu sync.Mutex
    
    	// Contains the version of the pclntab section.
    	version version
    
    	// Go 1.2/1.16/1.18 state
    	binary      binary.ByteOrder
    	quantum     uint32
    	ptrsize     uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/symtab.go

    	sliceSym(pcln.cutab)
    
    	// The filetab slice
    	sliceSym(pcln.filetab)
    
    	// The pctab slice
    	sliceSym(pcln.pctab)
    
    	// The pclntab slice
    	slice(pcln.pclntab, uint64(ldr.SymSize(pcln.pclntab)))
    
    	// The ftab slice
    	slice(pcln.pclntab, uint64(pcln.nfunc+1))
    
    	// findfunctab
    	moduledata.AddAddr(ctxt.Arch, pcln.findfunctab)
    	// minpc, maxpc
    	moduledata.AddAddr(ctxt.Arch, pcln.firstFunc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/main.go

    	bench.Start("textaddress")
    	ctxt.textaddress()
    	bench.Start("typelink")
    	ctxt.typelink()
    	bench.Start("buildinfo")
    	ctxt.buildinfo()
    	bench.Start("pclntab")
    	containers := ctxt.findContainerSyms()
    	pclnState := ctxt.pclntab(containers)
    	bench.Start("findfunctab")
    	ctxt.findfunctab(pclnState, containers)
    	bench.Start("dwarfGenerateDebugSyms")
    	dwarfGenerateDebugSyms(ctxt)
    	bench.Start("symtab")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/runtime/symtab.go

    		if base <= ptr && ptr < base+uintptr(len(datap.pclntable)) {
    			mod = datap
    			break
    		}
    	}
    	return funcInfo{f, mod}
    }
    
    // pcHeader holds data used by the pclntab lookups.
    type pcHeader struct {
    	magic          uint32  // 0xFFFFFFF1
    	pad1, pad2     uint8   // 0,0
    	minLC          uint8   // min instruction size
    	ptrSize        uint8   // size of a ptr in bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  7. src/cmd/link/internal/wasm/asm.go

    		ldr.SymSect(ldr.Lookup("runtime.typelink", 0)),
    		ldr.SymSect(ldr.Lookup("runtime.itablink", 0)),
    		ldr.SymSect(ldr.Lookup("runtime.symtab", 0)),
    		ldr.SymSect(ldr.Lookup("runtime.pclntab", 0)),
    		ldr.SymSect(ldr.Lookup("runtime.noptrdata", 0)),
    		ldr.SymSect(ldr.Lookup("runtime.data", 0)),
    	}
    
    	dataSects = make([]wasmDataSect, len(sections))
    	for i, sect := range sections {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. src/runtime/runtime2.go

    )
    
    // Layout of in-memory per-function information prepared by linker
    // See https://golang.org/s/go12symtab.
    // Keep in sync with linker (../cmd/link/internal/ld/pcln.go:/pclntab)
    // and with package debug/gosym and with symtab.go in package runtime.
    type _func struct {
    	sys.NotInHeap // Only in static data
    
    	entryOff uint32 // start pc, as offset from moduledata.text/pcHeader.textStart
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top