Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for pcln (0.11 sec)

  1. src/cmd/internal/objfile/goobj.go

    		syms = append(syms, sym)
    	}
    
    	return syms, nil
    }
    
    func (f *goobjFile) pcln() (textStart uint64, symtab, pclntab []byte, err error) {
    	// Should never be called. We implement Liner below, callers
    	// should use that instead.
    	return 0, nil, nil, fmt.Errorf("pcln not available in go object file")
    }
    
    // Find returns the file name, line, and function data for the given pc.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. src/cmd/internal/objfile/macho.go

    			case "__TEXT __text":
    				sym.Code = 'T'
    			case "__DATA __bss", "__DATA __noptrbss":
    				sym.Code = 'B'
    			}
    		}
    		syms = append(syms, sym)
    	}
    
    	return syms, nil
    }
    
    func (f *machoFile) pcln() (textStart uint64, symtab, pclntab []byte, err error) {
    	if sect := f.macho.Section("__text"); sect != nil {
    		textStart = sect.Addr
    	}
    	if sect := f.macho.Section("__gosymtab"); sect != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/internal/objfile/elf.go

    				sym.Code = 'D'
    			}
    		}
    		if elf.ST_BIND(s.Info) == elf.STB_LOCAL {
    			sym.Code += 'a' - 'A'
    		}
    		syms = append(syms, sym)
    	}
    
    	return syms, nil
    }
    
    func (f *elfFile) pcln() (textStart uint64, symtab, pclntab []byte, err error) {
    	if sect := f.elf.Section(".text"); sect != nil {
    		textStart = sect.Addr
    	}
    
    	sect := f.elf.Section(".gosymtab")
    	if sect == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 20:44:50 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/internal/objfile/pe.go

    		j := sort.Search(len(addrs), func(x int) bool { return addrs[x] > syms[i].Addr })
    		if j < len(addrs) {
    			syms[i].Size = int64(addrs[j] - syms[i].Addr)
    		}
    	}
    
    	return syms, nil
    }
    
    func (f *peFile) pcln() (textStart uint64, symtab, pclntab []byte, err error) {
    	imageBase, err := f.imageBase()
    	if err != nil {
    		return 0, nil, nil, err
    	}
    
    	if sect := f.pe.Section(".text"); sect != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 20 00:56:30 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/inl.go

    //	}
    //
    // The nodes of h inlined into main will have inlining indexes 2 and 3.
    //
    // Eventually, the compiler extracts a per-function inlining tree from
    // the global inlining tree (see pcln.go).
    type InlTree struct {
    	nodes []InlinedCall
    }
    
    // InlinedCall is a node in an InlTree.
    type InlinedCall struct {
    	Parent   int      // index of the parent in the InlTree or < 0 if outermost call
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 22:47:15 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/sym.go

    					}
    					ctxt.traverseFuncAux(flag, s, f, files)
    				} else if v := s.VarInfo(); v != nil {
    					fnNoNil(v.dwarfInfoSym)
    				}
    			}
    			if flag&traversePcdata != 0 && s.Type == objabi.STEXT {
    				fi := s.Func().Pcln
    				fnNoNil(fi.Pcsp)
    				fnNoNil(fi.Pcfile)
    				fnNoNil(fi.Pcline)
    				fnNoNil(fi.Pcinline)
    				for _, d := range fi.Pcdata {
    					fnNoNil(d)
    				}
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/link.go

    type FuncInfo struct {
    	Args      int32
    	Locals    int32
    	Align     int32
    	FuncID    abi.FuncID
    	FuncFlag  abi.FuncFlag
    	StartLine int32
    	Text      *Prog
    	Autot     map[*LSym]struct{}
    	Pcln      Pcln
    	InlMarks  []InlMark
    	spills    []RegSpill
    
    	dwarfInfoSym       *LSym
    	dwarfLocSym        *LSym
    	dwarfRangesSym     *LSym
    	dwarfAbsFnSym      *LSym
    	dwarfDebugLinesSym *LSym
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/plist.go

    		return
    	}
    	if strings.HasPrefix(s.Name, `"".`) {
    		ctxt.Diag("%s: unqualified symbol name: %s", ctxt.PosTable.Pos(start), s.Name)
    	}
    
    	// startLine should be the same line number that would be displayed via
    	// pcln, etc for the declaration (i.e., relative line number, as
    	// adjusted by //line).
    	_, startLine := ctxt.getFileIndexAndLine(start)
    
    	s.Func().FuncID = objabi.GetFuncID(s.Name, flag&WRAPPER != 0 || flag&ABIWRAPPER != 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. src/runtime/symtab.go

    		return "?"
    	}
    	// Make sure the cu index and file offset are valid
    	if fileoff := datap.cutab[f.cuOffset+uint32(fileno)]; fileoff != ^uint32(0) {
    		return gostringnocopy(&datap.filetab[fileoff])
    	}
    	// pcln section is corrupt.
    	return "?"
    }
    
    // funcline1 should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  10. 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
    
    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