- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for funcdata (0.29 sec)
-
src/cmd/internal/obj/objfile.go
// return the number of aux symbols s have. func nAuxSym(s *LSym) int { n := 0 if s.Gotype != nil { n++ } if fn := s.Func(); fn != nil { // FuncInfo is an aux symbol, each Funcdata is an aux symbol n += 1 + len(fn.Pcln.Funcdata) if fn.dwarfInfoSym != nil && fn.dwarfInfoSym.Size != 0 { n++ } if fn.dwarfLocSym != nil && fn.dwarfLocSym.Size != 0 { n++ }
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/asm/internal/asm/asm.go
p.append(prog, "", true) } // asmFuncData assembles a FUNCDATA pseudo-op. // FUNCDATA $1, funcdata<>+4(SB) func (p *Parser) asmFuncData(operands [][]lex.Token) { if len(operands) != 2 { p.errorf("expect two operands for FUNCDATA") return } // Operand 0 must be an immediate constant. valueAddr := p.address(operands[0]) if !p.validImmediate("FUNCDATA", &valueAddr) { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 25.5K bytes - Viewed (0) -
src/reflect/asm_loong64.s
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" #include "funcdata.h" #define REGCTXT R29 // The frames of each of the two functions below contain two locals, at offsets // that are known to the runtime. // // The first local is a bool called retValid with a whole pointer-word reserved
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:04:25 UTC 2024 - 2.7K bytes - Viewed (0) -
src/runtime/symtabinl.go
// // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname newInlineUnwinder func newInlineUnwinder(f funcInfo, pc uintptr) (inlineUnwinder, inlineFrame) { 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}
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/runtime/symtab.go
} // funcdata returns a pointer to the ith funcdata for f. // funcdata should be kept in sync with cmd/link:writeFuncs. func funcdata(f funcInfo, i uint8) unsafe.Pointer { if i < 0 || i >= f.nfuncdata { return nil } base := f.datap.gofunc // load gofunc address early so that we calculate during cache misses
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 40K bytes - Viewed (0) -
src/runtime/runtime2.go
// // pcdata [npcdata]uint32 // funcdata contains the offset past moduledata.gofunc which contains a // pointer to that index's funcdata. e.g., // *(moduledata.gofunc + _func.funcdata[_FUNCDATA_ArgsPointerMaps]) is // the argument pointer map. // // An offset of ^uint32(0) indicates that there is no entry. // // funcdata [nfuncdata]uint32 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
src/runtime/tracestack.go
// returns pc. func startPCForTrace(pc uintptr) uintptr { f := findfunc(pc) if !f.valid() { return pc // may happen for locked g in extra M since its pc is 0. } w := funcdata(f, abi.FUNCDATA_WrapInfo) if w == nil { return pc // not a wrapper } return f.datap.textAddr(*(*uint32)(w))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:56 UTC 2024 - 11K bytes - Viewed (0) -
src/runtime/race_s390x.s
// Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build race #include "go_asm.h" #include "funcdata.h" #include "textflag.h" // The following thunks allow calling the gcc-compiled race runtime directly // from Go code without going all the way through cgo. // First, it's much faster (up to 50% speedup for real Go programs).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 13.1K bytes - Viewed (0) -
src/runtime/race_amd64.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build race #include "go_asm.h" #include "go_tls.h" #include "funcdata.h" #include "textflag.h" #include "cgo/abi_amd64.h" // The following thunks allow calling the gcc-compiled race runtime directly // from Go code without going all the way through cgo.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 15.1K bytes - Viewed (0) -
src/cmd/internal/obj/sym.go
if flag&traverseAux == 0 { // NB: should it become necessary to walk aux sym reloc references // without walking the aux syms themselves, this can be changed. panic("should not be here") } for _, d := range pc.Funcdata { if d != nil { fn(fsym, d) } } usedFiles := make([]goobj.CUFileIndex, 0, len(pc.UsedFiles)) for f := range pc.UsedFiles { usedFiles = append(usedFiles, f) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 14:41:10 UTC 2024 - 14.1K bytes - Viewed (0)