Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for InlTree (0.1 sec)

  1. src/cmd/compile/internal/dwarfgen/dwinl.go

    	// children in the resulting table.
    	parCallIdx := -1
    	parInlIdx := base.Ctxt.InlTree.Parent(inlIdx)
    	if parInlIdx >= 0 {
    		parCallIdx = insertInlCall(dwcalls, parInlIdx, imap)
    	}
    
    	// Create new entry for this inline
    	inlinedFn := base.Ctxt.InlTree.InlinedFunction(inlIdx)
    	callXPos := base.Ctxt.InlTree.CallPos(inlIdx)
    	callPos := base.Ctxt.InnermostPos(callXPos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/pcln.go

    	for _, inlMark := range fn.InlMarks {
    		pcinlineState.setParentPC(ctxt, int(inlMark.id), int32(inlMark.p.Pc))
    	}
    	pcln.InlTree = pcinlineState.localTree
    	if ctxt.Debugpcln == "pctoinline" && len(pcln.InlTree.nodes) > 0 {
    		ctxt.Logf("-- inlining tree for %s:\n", cursym)
    		dumpInlTree(ctxt, pcln.InlTree)
    		ctxt.Logf("--\n")
    	}
    
    	// tabulate which pc and func data we have.
    	havepc := make([]uint32, (npcdata+31)/32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/link/internal/ld/pcln.go

    				default:
    					panic(fmt.Sprint("Unhandled architecture:", target.Arch.Family))
    				}
    			}
    			break // only need one
    		}
    	}
    	return deferreturn
    }
    
    // genInlTreeSym generates the InlTree sym for a function with the
    // specified FuncInfo.
    func genInlTreeSym(ctxt *Link, cu *sym.CompilationUnit, fi loader.FuncInfo, arch *sys.Arch, nameOffsets map[loader.Sym]uint32) loader.Sym {
    	ldr := ctxt.loader
    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/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)
  7. src/cmd/internal/dwarf/dwarf.go

    	PutLocationList func(listSym, startPC Sym)
    	Scope           int32
    	Type            Sym
    	DeclFile        string
    	DeclLine        uint
    	DeclCol         uint
    	InlIndex        int32 // subtract 1 to form real index into InlTree
    	ChildIndex      int32 // child DIE index in abstract function
    	IsInAbstract    bool  // variable exists in abstract function
    	ClosureOffset   int64 // if non-zero this is the offset of this variable in the closure struct
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/link/internal/ld/symtab.go

    			}
    
    		case strings.HasPrefix(name, "gcargs."),
    			strings.HasPrefix(name, "gclocals."),
    			strings.HasPrefix(name, "gclocals·"),
    			ldr.SymType(s) == sym.SGOFUNC && s != symgofunc, // inltree, see pcln.go
    			strings.HasSuffix(name, ".opendefer"),
    			strings.HasSuffix(name, ".arginfo0"),
    			strings.HasSuffix(name, ".arginfo1"),
    			strings.HasSuffix(name, ".argliveinfo"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
Back to top