Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 95 for funcdata (0.13 sec)

  1. src/internal/runtime/atomic/atomic_arm.s

    // Copyright 2015 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 "go_asm.h"
    #include "textflag.h"
    #include "funcdata.h"
    
    // bool armcas(int32 *val, int32 old, int32 new)
    // Atomically:
    //	if(*val == old){
    //		*val = new;
    //		return 1;
    //	}else
    //		return 0;
    //
    // To implement ·cas in sys_$GOOS_arm.s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. 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)
  3. src/internal/runtime/atomic/atomic_386.s

    // Copyright 2015 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"
    
    // bool Cas(int32 *val, int32 old, int32 new)
    // Atomically:
    //	if(*val == old){
    //		*val = new;
    //		return 1;
    //	}else
    //		return 0;
    TEXT ·Cas(SB), NOSPLIT, $0-13
    	MOVL	ptr+0(FP), BX
    	MOVL	old+4(FP), AX
    	MOVL	new+8(FP), CX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/runtime/sys_windows_arm64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "textflag.h"
    #include "funcdata.h"
    #include "time_windows.h"
    #include "cgo/abi_arm64.h"
    
    // Offsets into Thread Environment Block (pointer in R18)
    #define TEB_error 0x68
    #define TEB_TlsSlots 0x1480
    #define TEB_ArbitraryPtr 0x28
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. doc/asm.html

    	0x000f 00015 (x.go:3)	SUBQ	$16, SP
    	0x0013 00019 (x.go:3)	MOVQ	BP, 8(SP)
    	0x0018 00024 (x.go:3)	LEAQ	8(SP), BP
    	0x001d 00029 (x.go:3)	FUNCDATA	$0, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB)
    	0x001d 00029 (x.go:3)	FUNCDATA	$1, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB)
    	0x001d 00029 (x.go:3)	FUNCDATA	$2, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB)
    	0x001d 00029 (x.go:4)	PCDATA	$0, $0
    	0x001d 00029 (x.go:4)	PCDATA	$1, $0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (1)
  6. src/runtime/heapdump.go

    		// stackmap for this function. It is likely that we are looking
    		// at the function prologue, assume so and hope for the best.
    		pcdata = 0
    	}
    	stkmap := (*stackmap)(funcdata(f, abi.FUNCDATA_LocalsPointerMaps))
    
    	var bv bitvector
    	if stkmap != nil && stkmap.n > 0 {
    		bv = stackmapdata(stkmap, pcdata)
    	} else {
    		bv.n = -1
    	}
    
    	// Dump main body of stack frame.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/parse.go

    				fmt.Fprintf(w, "def %s %s\n", name, abi)
    			}
    		}
    		return
    	case "GLOBL", "PCDATA":
    		// No text definitions or symbol references.
    	case "DATA", "FUNCDATA":
    		// For DATA, operands[0] is defined symbol.
    		// For FUNCDATA, operands[0] is an immediate constant.
    		// Remaining operands may have references.
    		if len(operands) < 2 {
    			return
    		}
    		operands = operands[1:]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. 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)
  9. src/runtime/asm_wasm.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.
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "funcdata.h"
    #include "textflag.h"
    
    TEXT runtime·rt0_go(SB), NOSPLIT|NOFRAME|TOPFRAME, $0
    	// save m->g0 = g0
    	MOVD $runtime·g0(SB), runtime·m0+m_g0(SB)
    	// save m0 to g0->m
    	MOVD $runtime·m0(SB), runtime·g0+g_m(SB)
    	// set g to g0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:26:51 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. 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)
Back to top