Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 90 for tracebackF1 (0.38 sec)

  1. src/cmd/internal/obj/textflag.go

    	// Put this data in a read-only section.
    	RODATA = 8
    
    	// This data contains no pointers.
    	NOPTR = 16
    
    	// This is a wrapper function and should not count as
    	// disabling 'recover' or appear in tracebacks by default.
    	WRAPPER = 32
    
    	// This function uses its incoming context register.
    	NEEDCTXT = 64
    
    	// When passed to objw.Global, causes Local to be set to true on the LSym it creates.
    	LOCAL = 128
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:25:30 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. test/fixedbugs/issue46234.go

    //go:build !js && !wasip1
    
    // 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.
    
    // Ensure that runtime traceback does not infinite loop for
    // the testcase below.
    
    package main
    
    import (
    	"bytes"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    )
    
    const prog = `
    
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/testdata/msan8.go

    struct cgoTracebackArg {
    	uintptr_t context;
    	uintptr_t sigContext;
    	uintptr_t* buf;
    	uintptr_t max;
    };
    
    // msanGoTraceback is registered as the cgo traceback function.
    // This will be called when a signal occurs.
    void msanGoTraceback(void* parg) {
    	struct cgoTracebackArg* arg = (struct cgoTracebackArg*)(parg);
            arg->buf[0] = 0;
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:30:58 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. src/runtime/asm_loong64.s

    	// To save m->curg->sched.pc, we push it onto the stack.
    	// This has the added benefit that it looks to the traceback
    	// routine like cgocallbackg is going to return to that
    	// PC (because the frame we allocate below has the same
    	// size as cgocallback_gofunc's frame declared above)
    	// so that the traceback will seamlessly trace back into
    	// the earlier calls.
    	MOVV	m_curg(R12), g
    	JAL	runtime·save_g(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. src/runtime/sys_darwin_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: Thu Aug 03 16:07:59 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  6. src/runtime/asm_mips64x.s

    	MOVV	m_curg(R1), g
    	JAL	runtime·save_g(SB)
    	MOVV	(g_sched+gobuf_sp)(g), R29
    	MOVV	R0, (g_sched+gobuf_sp)(g)
    	RET
    
    noswitch:
    	// already on m stack, just call directly
    	// Using a tail call here cleans up tracebacks since we won't stop
    	// at an intermediate systemstack.
    	MOVV	0(REGCTXT), R4	// code pointer
    	MOVV	0(R29), R31	// restore LR
    	ADDV	$8, R29
    	JMP	(R4)
    
    // func switchToCrashStack0(fn func())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  7. src/runtime/cgo/libcgo.h

     * The cgo context function. See runtime.SetCgoTraceback.
     */
    struct context_arg {
    	uintptr_t Context;
    };
    extern void (*(_cgo_get_context_function(void)))(struct context_arg*);
    
    /*
     * The argument for the cgo traceback callback. See runtime.SetCgoTraceback.
     */
    struct cgoTracebackArg {
    	uintptr_t  Context;
    	uintptr_t  SigContext;
    	uintptr_t* Buf;
    	uintptr_t  Max;
    };
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:50:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    // exclusive use of a writable pipe connected to the child process's stdin.
    func Parent(pipe *os.File) {
    	writeSentinel(pipe)
    	// Ensure that we get pc=0x%x values in the traceback.
    	debug.SetTraceback("system")
    	setCrashOutput(pipe)
    }
    
    // Child runs the part of the crashmonitor that runs in the child process.
    // It expects its stdin to be connected via a pipe to the parent which has
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. src/runtime/mcheckmark.go

    		print("runtime: found obj at *(", hex(base), "+", hex(off), ")\n")
    
    		// Dump the source (base) object
    		gcDumpObject("base", base, off)
    
    		// Dump the object
    		gcDumpObject("obj", obj, ^uintptr(0))
    
    		getg().m.traceback = 2
    		throw("checkmark found unmarked object")
    	}
    
    	ai := arenaIndex(obj)
    	arena := mheap_.arenas[ai.l1()][ai.l2()]
    	arenaWord := (obj / heapArenaBytes / 8) % uintptr(len(arena.checkmarks.b))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/runtime/asm_riscv64.s

    	MOV	m_curg(T0), g
    	CALL	runtime·save_g(SB)
    	MOV	(g_sched+gobuf_sp)(g), X2
    	MOV	ZERO, (g_sched+gobuf_sp)(g)
    	RET
    
    noswitch:
    	// already on m stack, just call directly
    	// Using a tail call here cleans up tracebacks since we won't stop
    	// at an intermediate systemstack.
    	MOV	0(CTXT), T1	// code pointer
    	ADD	$8, X2
    	JMP	(T1)
    
    // func switchToCrashStack0(fn func())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
Back to top