Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for pcln (0.03 sec)

  1. src/debug/gosym/pclntab.go

    }
    
    // go12PCToLine maps program counter to line number for the Go 1.2+ pcln table.
    func (t *LineTable) go12PCToLine(pc uint64) (line int) {
    	defer func() {
    		if !disableRecover && recover() != nil {
    			line = -1
    		}
    	}()
    
    	f := t.findFunc(pc)
    	if f.IsZero() {
    		return -1
    	}
    	entry := f.entryPC()
    	linetab := f.pcln()
    	return int(t.pcvalue(linetab, entry, pc))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/internal/objfile/xcoff.go

    			}
    
    			if s.StorageClass == xcoff.C_HIDEXT {
    				// Local symbol
    				sym.Code = unicode.ToLower(sym.Code)
    			}
    
    		}
    		syms = append(syms, sym)
    	}
    
    	return syms, nil
    }
    
    func (f *xcoffFile) pcln() (textStart uint64, symtab, pclntab []byte, err error) {
    	if sect := f.xcoff.Section(".text"); sect != nil {
    		textStart = sect.VirtualAddress
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 11 18:19:08 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  6. src/cmd/internal/objfile/plan9obj.go

    		if i < len(addrs) {
    			sym.Size = int64(addrs[i] - s.Value)
    		}
    		syms = append(syms, sym)
    	}
    
    	return syms, nil
    }
    
    func (f *plan9File) pcln() (textStart uint64, symtab, pclntab []byte, err error) {
    	textStart = f.plan9.LoadAddress + f.plan9.HdrSize
    	if pclntab, err = loadPlan9Table(f.plan9, "runtime.pclntab", "runtime.epclntab"); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 01:01:44 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top