Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/internal/runtime/atomic/sys_linux_arm.s

    	CMP	$7, R11
    	BLT	2(PC)
    	JMP	·armcas(SB)
    	JMP	kernelcas<>(SB)
    
    TEXT kernelcas<>(SB),NOSPLIT,$0
    	MOVW	ptr+0(FP), R2
    	// trigger potential paging fault here,
    	// because we don't know how to traceback through __kuser_cmpxchg
    	MOVW    (R2), R0
    	MOVW	old+4(FP), R0
    	MOVW	new+8(FP), R1
    	BL	cas<>(SB)
    	BCC	ret0
    	MOVW	$1, R0
    	MOVB	R0, ret+12(FP)
    	RET
    ret0:
    	MOVW	$0, R0
    	MOVB	R0, ret+12(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/runtime/cgo/gcc_libinit_windows.c

    		abort();
    	}
    }
    
    // The context function, used when tracing back C calls into Go.
    static void (*cgo_context_function)(struct context_arg*);
    
    // Sets the context function to call to record the traceback context
    // when calling a Go function from C code. Called from runtime.SetCgoTraceback.
    void x_cgo_set_context_function(void (*context)(struct context_arg*)) {
    	EnterCriticalSection(&runtime_init_cs);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/testprog/cpu-profile.go

    				for _, line := range loc.Line {
    					fns = append(fns, fmt.Sprintf("%s:%d", line.Function.Name, line.Line))
    					leaf = line.Function.Name
    				}
    			}
    			// runtime.sigprof synthesizes call stacks when "normal traceback is
    			// impossible or has failed", using particular placeholder functions
    			// to represent common failure cases. Look for those functions in
    			// the leaf position as a sign that the call stack and its
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top