Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 90 for tracebackF1 (0.17 sec)

  1. test/fixedbugs/issue11656.go

    // runindir
    
    // 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.
    
    // Issue 11656: runtime: jump to bad PC missing good traceback
    
    // windows doesn't work, because Windows exception handling
    // delivers signals based on the current PC, and that current PC
    // doesn't go into the Go runtime.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 700 bytes
    - Viewed (0)
  2. src/runtime/cgo/gcc_context.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix || windows
    
    #include "libcgo.h"
    
    // Releases the cgo traceback context.
    void _cgo_release_context(uintptr_t ctxt) {
    	void (*pfn)(struct context_arg*);
    
    	pfn = _cgo_get_context_function();
    	if (ctxt != 0 && pfn != nil) {
    		struct context_arg arg;
    
    		arg.Context = ctxt;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 466 bytes
    - Viewed (0)
  3. src/runtime/tracebackx_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    func XTestSPWrite(t TestingT) {
    	// Test that we can traceback from the stack check prologue of a function
    	// that writes to SP. See #62326.
    
    	// Start a goroutine to minimize the initial stack and ensure we grow the stack.
    	done := make(chan bool)
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 06 14:45:46 UTC 2023
    - 509 bytes
    - Viewed (0)
  4. src/runtime/sys_linux_ppc64x.s

    	MOVD	LR, R10
    
    	// We're coming from C code, initialize R0
    	MOVD	$0, R0
    
    	// If no traceback function, do usual sigtramp.
    	MOVD	runtime·cgoTraceback(SB), R6
    	CMP	$0, R6
    	BEQ	sigtramp
    
    	// If no traceback support function, which means that
    	// runtime/cgo was not linked in, do usual sigtramp.
    	MOVD	_cgo_callers(SB), R6
    	CMP	$0, R6
    	BEQ	sigtramp
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. src/runtime/sys_linux_amd64.s

    // Used instead of sigtramp in programs that use cgo.
    // Arguments from kernel are in DI, SI, DX.
    TEXT runtime·cgoSigtramp(SB),NOSPLIT,$0
    	// If no traceback function, do usual sigtramp.
    	MOVQ	runtime·cgoTraceback(SB), AX
    	TESTQ	AX, AX
    	JZ	sigtramp
    
    	// If no traceback support function, which means that
    	// runtime/cgo was not linked in, do usual sigtramp.
    	MOVQ	_cgo_callers(SB), AX
    	TESTQ	AX, AX
    	JZ	sigtramp
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  6. src/runtime/sys_linux_arm64.s

    	MOVD	LR, R10
    	// Save R27, g because they will be clobbered,
    	// we need to restore them before jump to sigtramp.
    	MOVD	R27, R11
    	MOVD	g, R12
    
    	// If no traceback function, do usual sigtramp.
    	MOVD	runtime·cgoTraceback(SB), R6
    	CBZ	R6, sigtramp
    
    	// If no traceback support function, which means that
    	// runtime/cgo was not linked in, do usual sigtramp.
    	MOVD	_cgo_callers(SB), R7
    	CBZ	R7, sigtramp
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  7. src/runtime/pprof/proto_test.go

    	// GoOnly includes only Go symbols that runtime will symbolize.
    	// Go+C includes C symbols that runtime will not symbolize.
    	for _, traceback := range []string{"GoOnly", "Go+C"} {
    		t.Run("traceback"+traceback, func(t *testing.T) {
    			cmd := exec.Command(testenv.GoToolPath(t), "run", prog)
    			if traceback != "GoOnly" {
    				cmd.Env = append(os.Environ(), "SETCGOTRACEBACK=1")
    			}
    			cmd.Stderr = new(bytes.Buffer)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 23:21:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. src/runtime/sys_freebsd_amd64.s

    // Used instead of sigtramp in programs that use cgo.
    // Arguments from kernel are in DI, SI, DX.
    TEXT runtime·cgoSigtramp(SB),NOSPLIT,$0
    	// If no traceback function, do usual sigtramp.
    	MOVQ	runtime·cgoTraceback(SB), AX
    	TESTQ	AX, AX
    	JZ	sigtramp
    
    	// If no traceback support function, which means that
    	// runtime/cgo was not linked in, do usual sigtramp.
    	MOVQ	_cgo_callers(SB), AX
    	TESTQ	AX, AX
    	JZ	sigtramp
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. src/runtime/pprof/proto.go

    type locInfo struct {
    	// location id assigned by the profileBuilder
    	id uint64
    
    	// sequence of PCs, including the fake PCs returned by the traceback
    	// to represent inlined functions
    	// https://github.com/golang/go/blob/d6f2f833c93a41ec1c68e49804b8387a06b131c5/src/runtime/traceback.go#L347-L368
    	pcs []uintptr
    
    	// firstPCFrames and firstPCSymbolizeResult hold the results of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testsanitizers/testdata/tsan13.go

    // license that can be found in the LICENSE file.
    
    package main
    
    // This program failed when run under the C/C++ ThreadSanitizer.
    // There was no TSAN synchronization for the call to the cgo
    // traceback routine.
    
    /*
    #cgo CFLAGS: -g -fsanitize=thread
    #cgo LDFLAGS: -g -fsanitize=thread
    
    #include <pthread.h>
    #include <stdint.h>
    #include <stdlib.h>
    #include <sys/time.h>
    #include <unistd.h>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top