- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for funcInfo (0.19 sec)
-
src/cmd/internal/goobj/funcinfo.go
return result } func (*FuncInfo) ReadArgs(b []byte) uint32 { return binary.LittleEndian.Uint32(b) } func (*FuncInfo) ReadLocals(b []byte) uint32 { return binary.LittleEndian.Uint32(b[4:]) } func (*FuncInfo) ReadFuncID(b []byte) abi.FuncID { return abi.FuncID(b[8]) } func (*FuncInfo) ReadFuncFlag(b []byte) abi.FuncFlag { return abi.FuncFlag(b[9]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:28:46 UTC 2023 - 3.8K bytes - Viewed (0) -
src/runtime/symtab.go
// or funcInfo() to get the funcInfo instead. // A Func represents a Go function in the running binary. type Func struct { opaque struct{} // unexported field to disallow conversions } func (f *Func) raw() *_func { return (*_func)(unsafe.Pointer(f)) } func (f *Func) funcInfo() funcInfo { return f.raw().funcInfo() } func (f *_func) funcInfo() funcInfo {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 40K bytes - Viewed (0) -
src/cmd/link/internal/ld/pcln.go
} // funcData returns the funcdata and offsets for the FuncInfo. // The funcdata are written into runtime.functab after each func // object. This is a helper function to make querying the FuncInfo object // cleaner. // // NB: Preload must be called on the FuncInfo before calling. // NB: fdSyms is used as scratch space. func funcData(ldr *loader.Loader, s loader.Sym, fi loader.FuncInfo, inlSym loader.Sym, fdSyms []loader.Sym) []loader.Sym {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
return int((*goobj.FuncInfo)(nil).ReadLocals(fi.data)) } func (fi *FuncInfo) FuncID() abi.FuncID { return (*goobj.FuncInfo)(nil).ReadFuncID(fi.data) } func (fi *FuncInfo) FuncFlag() abi.FuncFlag { return (*goobj.FuncInfo)(nil).ReadFuncFlag(fi.data) } func (fi *FuncInfo) StartLine() int32 { return (*goobj.FuncInfo)(nil).ReadStartLine(fi.data) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
Targets []*Prog } // NewFuncInfo allocates and returns a FuncInfo for LSym. func (s *LSym) NewFuncInfo() *FuncInfo { if s.Extra != nil { panic(fmt.Sprintf("invalid use of LSym - NewFuncInfo with Extra of type %T", *s.Extra)) } f := new(FuncInfo) s.Extra = new(interface{}) *s.Extra = f return f } // Func returns the *FuncInfo associated with s, or else nil. func (s *LSym) Func() *FuncInfo {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
src/runtime/symtabinl.go
// must not mutate pointer fields. Also, we keep the mutable state in a separate // struct mostly to keep both structs SSA-able, which generates much better // code. type inlineUnwinder struct { f funcInfo inlTree *[1 << 20]inlinedCall } // An inlineFrame is a position in an inlineUnwinder. type inlineFrame struct { // pc is the PC giving the file/line metadata of the current frame. This is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 4.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/seh.go
// an RVA, so it is possible, and binary-size wise, // to deduplicate .xdata entries. uwcache := make(map[string]int64) // aux symbol name --> .xdata offset for _, s := range ctxt.Textp { if fi := ldr.FuncInfo(s); !fi.Valid() { continue } uw := ldr.SEHUnwindSym(s) if uw == 0 { continue } name := ctxt.SymName(uw) off, cached := uwcache[name] if !cached { off = xdata.Size()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:01:27 UTC 2023 - 2K bytes - Viewed (0) -
src/runtime/plugin.go
func pluginftabverify(md *moduledata) { badtable := false for i := 0; i < len(md.ftab); i++ { entry := md.textAddr(md.ftab[i].entryoff) if md.minpc <= entry && entry <= md.maxpc { continue } f := funcInfo{(*_func)(unsafe.Pointer(&md.pclntable[md.ftab[i].funcoff])), md} name := funcname(f) // A common bug is f.entry has a relocation to a duplicate // function symbol, meaning if we search for its PC we get
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 4.4K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
n++ } } return n } // generate symbols for FuncInfo. func genFuncInfoSyms(ctxt *Link) { infosyms := make([]*LSym, 0, len(ctxt.Text)) var b bytes.Buffer symidx := int32(len(ctxt.defs)) for _, s := range ctxt.Text { fn := s.Func() if fn == nil { continue } o := goobj.FuncInfo{ Args: uint32(fn.Args), Locals: uint32(fn.Locals),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
src/cmd/compile/internal/test/inl_test.go
"releasem", "roundupsize", "stackmapdata", "stringStructOf", "subtract1", "subtractb", "tophash", "(*bmap).keys", "(*bmap).overflow", "(*waitq).enqueue", "funcInfo.entry", // GC-related ones "cgoInRange", "gclinkptr.ptr", "guintptr.ptr", "heapBitsSlice", "markBits.isMarked", "muintptr.ptr", "puintptr.ptr", "spanOf",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 10.7K bytes - Viewed (0)