- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for funcdata (0.26 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/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/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/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) -
src/runtime/preempt.go
if up == abi.UnsafePointUnsafe { // Unsafe-point marked by compiler. This includes // atomic sequences (e.g., write barrier) and nosplit // functions (except at calls). return false, 0 } if fd := funcdata(f, abi.FUNCDATA_LocalsPointerMaps); fd == nil || f.flag&abi.FuncFlagAsm != 0 { // This is assembly code. Don't assume it's well-formed. // TODO: Empirically we still need the fd == nil check. Why? //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 15.1K bytes - Viewed (0) -
src/runtime/race_arm64.s
// Copyright 2018 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" #include "tls_arm64.h" #include "cgo/abi_arm64.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.5K bytes - Viewed (0)