Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for unwinder (0.17 sec)

  1. src/runtime/traceback.go

    	calleeFuncID abi.FuncID
    
    	// flags are the flags to this unwind. Some of these are updated as we
    	// unwind (see the flags documentation).
    	flags unwindFlags
    }
    
    // init initializes u to start unwinding gp's stack and positions the
    // iterator on gp's innermost frame. gp must not be the current G.
    //
    // A single unwinder can be reused for multiple unwinds.
    func (u *unwinder) init(gp *g, flags unwindFlags) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. src/runtime/mprof.go

    		prof.stack[2] = 0
    		return
    	}
    
    	var nstk int
    	gp := getg()
    	sp := getcallersp()
    	pc := getcallerpc()
    	systemstack(func() {
    		var u unwinder
    		u.initAt(pc, sp, 0, gp, unwindSilentErrors|unwindJumpStack)
    		nstk = 1 + tracebackPCs(&u, skip, prof.stack[1:])
    	})
    	if nstk < len(prof.stack) {
    		prof.stack[nstk] = 0
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. src/runtime/mgcmark.go

    	if gp.sched.ctxt != nil {
    		scanblock(uintptr(unsafe.Pointer(&gp.sched.ctxt)), goarch.PtrSize, &oneptrmask[0], gcw, &state)
    	}
    
    	// Scan the stack. Accumulate a list of stack objects.
    	var u unwinder
    	for u.init(gp, 0); u.valid(); u.next() {
    		scanframeworker(&u.frame, &state, gcw)
    	}
    
    	// Find additional pointers that point into the stack from the heap.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  4. src/runtime/asm_amd64.s

    	MOVQ	R14, g(CX)
    	MOVQ	(g_sched+gobuf_sp)(R14), SP	// sp = g0.sched.sp
    	PUSHQ	AX	// open up space for fn's arg spill slot
    	MOVQ	0(DX), R12
    	CALL	R12		// fn(g)
    	// The Windows native stack unwinder incorrectly classifies the next instruction
    	// as part of the function epilogue, producing a wrong call stack.
    	// Add a NOP to work around this issue. See go.dev/issue/67007.
    	BYTE	$0x90
    	POPQ	AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  5. src/runtime/mbitmap.go

    		// for that memory to get freed.
    		KeepAlive(ep)
    		return
    	}
    
    	// stack
    	if gp := getg(); gp.m.curg.stack.lo <= uintptr(p) && uintptr(p) < gp.m.curg.stack.hi {
    		found := false
    		var u unwinder
    		for u.initAt(gp.m.curg.sched.pc, gp.m.curg.sched.sp, 0, gp.m.curg, 0); u.valid(); u.next() {
    			if u.frame.sp <= uintptr(p) && uintptr(p) < u.frame.varp {
    				found = true
    				break
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  6. src/debug/elf/file_test.go

    					Offset:   0xb,
    					Tag:      dwarf.TagCompileUnit,
    					Children: true,
    					Field: []dwarf.Field{
    						{Attr: dwarf.AttrProducer, Val: "GNU C17 9.3.0 -mtune=generic -march=x86-64 -g -fno-asynchronous-unwind-tables", Class: dwarf.ClassString},
    						{Attr: dwarf.AttrLanguage, Val: int64(12), Class: dwarf.ClassConstant},
    						{Attr: dwarf.AttrName, Val: "multiple-code-sections.c", Class: dwarf.ClassString},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loader/loader.go

    	}
    	return (*goobj.FuncInfo)(nil).ReadFile(fi.data, fi.lengths.FileOff, uint32(k))
    }
    
    // TopFrame returns true if the function associated with this FuncInfo
    // is an entry point, meaning that unwinders should stop when they hit
    // this function.
    func (fi *FuncInfo) TopFrame() bool {
    	return (fi.FuncFlag() & abi.FuncFlagTopFrame) != 0
    }
    
    type InlTreeNode struct {
    	Parent   int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/dwarf.go

    		// First build the section contents into a byte buffer.
    		deltaBuf = deltaBuf[:0]
    		if haslr && fi.TopFrame() {
    			// Mark the link register as having an undefined value.
    			// This stops call stack unwinders progressing any further.
    			// TODO: similar mark on non-LR architectures.
    			deltaBuf = append(deltaBuf, dwarf.DW_CFA_undefined)
    			deltaBuf = dwarf.AppendUleb128(deltaBuf, uint64(thearch.Dwarfreglr))
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

             * clearListeners.
             */
            Runnable task = requireNonNull(curr.task);
            if (task instanceof SetFuture) {
              SetFuture<?> setFuture = (SetFuture<?>) task;
              // We unwind setFuture specifically to avoid StackOverflowErrors in the case of long
              // chains of SetFutures
              // Handling this special case is important because there is no way to pass an executor to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  10. guava/src/com/google/common/util/concurrent/AbstractFuture.java

             * clearListeners.
             */
            Runnable task = requireNonNull(curr.task);
            if (task instanceof SetFuture) {
              SetFuture<?> setFuture = (SetFuture<?>) task;
              // We unwind setFuture specifically to avoid StackOverflowErrors in the case of long
              // chains of SetFutures
              // Handling this special case is important because there is no way to pass an executor to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
Back to top