Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for InlTree (0.12 sec)

  1. src/runtime/symtabinl.go

    	inldata := funcdata(f, abi.FUNCDATA_InlTree)
    	if inldata == nil {
    		return inlineUnwinder{f: f}, inlineFrame{pc: pc, index: -1}
    	}
    	inlTree := (*[1 << 20]inlinedCall)(inldata)
    	u := inlineUnwinder{f: f, inlTree: inlTree}
    	return u, u.resolveInternal(pc)
    }
    
    func (u *inlineUnwinder) resolveInternal(pc uintptr) inlineFrame {
    	return inlineFrame{
    		pc: pc,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/link.go

    	Pcsp      *LSym
    	Pcfile    *LSym
    	Pcline    *LSym
    	Pcinline  *LSym
    	Pcdata    []*LSym
    	Funcdata  []*LSym
    	UsedFiles map[goobj.CUFileIndex]struct{} // file indices used while generating pcfile
    	InlTree   InlTree                        // per-function inlining tree extracted from the global tree
    }
    
    type Reloc struct {
    	Off  int32
    	Siz  uint8
    	Type objabi.RelocType
    	Add  int64
    	Sym  *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)
  3. src/cmd/internal/obj/objfile.go

    		for f := range pc.UsedFiles {
    			o.File[i] = f
    			i++
    		}
    		sort.Slice(o.File, func(i, j int) bool { return o.File[i] < o.File[j] })
    		o.InlTree = make([]goobj.InlTreeNode, len(pc.InlTree.nodes))
    		for i, inl := range pc.InlTree.nodes {
    			f, l := ctxt.getFileIndexAndLine(inl.Pos)
    			o.InlTree[i] = goobj.InlTreeNode{
    				Parent:   int32(inl.Parent),
    				File:     goobj.CUFileIndex(f),
    				Line:     l,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/sym.go

    	for _, f := range usedFiles {
    		if filesym := ctxt.Lookup(files[f]); filesym != nil {
    			fn(fsym, filesym)
    		}
    	}
    	for _, call := range pc.InlTree.nodes {
    		if call.Func != nil {
    			fn(fsym, call.Func)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ir/func.go

    	// inlined functions' names into the closure's linker symbol name
    	// too (#60324).
    	if inlIndex := base.Ctxt.InnermostPos(pos).Base().InliningIndex(); inlIndex >= 0 {
    		names := []string{outer}
    		base.Ctxt.InlTree.AllParents(inlIndex, func(call obj.InlinedCall) {
    			names = append(names, call.Name)
    		})
    		outer = strings.Join(names, ".")
    	}
    
    	*gen++
    	return pkg.Lookup(fmt.Sprintf("%s%s%d", outer, suffix, *gen))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loader/loader.go

    func (fi *FuncInfo) StartLine() int32 {
    	return (*goobj.FuncInfo)(nil).ReadStartLine(fi.data)
    }
    
    // Preload has to be called prior to invoking the various methods
    // below related to pcdata, funcdataoff, files, and inltree nodes.
    func (fi *FuncInfo) Preload() {
    	fi.lengths = (*goobj.FuncInfo)(nil).ReadFuncInfoLengths(fi.data)
    }
    
    func (fi *FuncInfo) NumFile() uint32 {
    	if !fi.lengths.Initialized {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
Back to top