Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 144 for funcdata (0.21 sec)

  1. 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)
  2. 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)
  3. src/runtime/race_ppc64le.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 "asm_ppc64x.h"
    #include "cgo/abi_ppc64x.h"
    
    // The following functions allow calling the clang-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
    - 17K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/util.go

    			return as.names[a-as.lo]
    		}
    	}
    	return fmt.Sprintf("A???%d", a)
    }
    
    var Anames = []string{
    	"XXX",
    	"CALL",
    	"DUFFCOPY",
    	"DUFFZERO",
    	"END",
    	"FUNCDATA",
    	"JMP",
    	"NOP",
    	"PCALIGN",
    	"PCALIGNMAX",
    	"PCDATA",
    	"RET",
    	"GETCALLERPC",
    	"TEXT",
    	"UNDEF",
    }
    
    func Bool2int(b bool) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. src/runtime/panic.go

    // the appropriate defer calls based on the bitmask and fn/arg information stored
    // on the stack. During panic/Goexit processing, the appropriate defer calls are
    // made using extra funcdata info that indicates the exact stack slots that
    // contain the bitmask and defer fn/args.
    
    // Check to make sure we can really generate a panic. If the panic
    // was generated from the runtime, or from inside malloc, then convert
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  6. src/cmd/dist/build.go

    		// For use by assembly and C files.
    		copyfile(pathf("%s/pkg/include/textflag.h", goroot),
    			pathf("%s/src/runtime/textflag.h", goroot), 0)
    		copyfile(pathf("%s/pkg/include/funcdata.h", goroot),
    			pathf("%s/src/runtime/funcdata.h", goroot), 0)
    		copyfile(pathf("%s/pkg/include/asm_ppc64x.h", goroot),
    			pathf("%s/src/runtime/asm_ppc64x.h", goroot), 0)
    		copyfile(pathf("%s/pkg/include/asm_amd64.h", goroot),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  7. src/runtime/traceback.go

    	return n
    }
    
    // printArgs prints function arguments in traceback.
    func printArgs(f funcInfo, argp unsafe.Pointer, pc uintptr) {
    	p := (*[abi.TraceArgsMaxLen]uint8)(funcdata(f, abi.FUNCDATA_ArgInfo))
    	if p == nil {
    		return
    	}
    
    	liveInfo := funcdata(f, abi.FUNCDATA_ArgLiveInfo)
    	liveIdx := pcdatavalue(f, abi.PCDATA_ArgLiveIndex, pc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. src/runtime/asm_mips64x.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build mips64 || mips64le
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "funcdata.h"
    #include "textflag.h"
    
    #define	REGCTXT	R22
    
    TEXT runtime·rt0_go(SB),NOSPLIT|TOPFRAME,$0
    	// R29 = stack; R4 = argc; R5 = argv
    
    	ADDV	$-24, R29
    	MOVW	R4, 8(R29) // argc
    	MOVV	R5, 16(R29) // argv
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  9. src/runtime/asm_riscv64.s

    // Copyright 2017 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 "funcdata.h"
    #include "textflag.h"
    
    // func rt0_go()
    TEXT runtime·rt0_go(SB),NOSPLIT|TOPFRAME,$0
    	// X2 = stack; A0 = argc; A1 = argv
    	SUB	$24, X2
    	MOV	A0, 8(X2)	// argc
    	MOV	A1, 16(X2)	// argv
    
    	// create istack out of the given (operating system) stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
  10. src/runtime/asm_s390x.s

    // Copyright 2016 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"
    
    // _rt0_s390x_lib is common startup code for s390x systems when
    // using -buildmode=c-archive or -buildmode=c-shared. The linker will
    // arrange to invoke this function as a global constructor (for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top