Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for unwinder (0.19 sec)

  1. src/runtime/asm_ppc64x.s

    	// Force SPWRITE. This function doesn't actually write SP,
    	// but it is called with a special calling convention where
    	// the caller doesn't save LR on stack but passes it as a
    	// register (R5), and the unwinder currently doesn't understand.
    	// Make it SPWRITE to stop unwinding. (See issue 54332)
    	// Use OR R0, R1 instead of MOVD R1, R1 as the MOVD instruction
    	// has a special affect on Power8,9,10 by lowering the thread 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  2. src/runtime/export_test.go

    		}
    	}
    	return gp.m.lockedExt, gp.m.lockedInt
    }
    
    //go:noinline
    func TracebackSystemstack(stk []uintptr, i int) int {
    	if i == 0 {
    		pc, sp := getcallerpc(), getcallersp()
    		var u unwinder
    		u.initAt(pc, sp, 0, getg(), unwindJumpStack) // Don't ignore errors, for testing
    		return tracebackPCs(&u, 0, stk)
    	}
    	n := 0
    	systemstack(func() {
    		n = TracebackSystemstack(stk, i-1)
    	})
    	return n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/cgocall.go

    	cb(frame)
    
    	if raceenabled {
    		racereleasemerge(unsafe.Pointer(&racecgosync))
    	}
    
    	// Do not unwind m->g0->sched.sp.
    	// Our caller, cgocallback, will do that.
    	restore = false
    }
    
    func unwindm(restore *bool) {
    	if *restore {
    		// Restore sp saved by cgocallback during
    		// unwind of g's stack (see comment at top of file).
    		mp := acquirem()
    		sched := &mp.g0.sched
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/x86/seh.go

    }
    
    // populateSeh generates the SEH unwind information for s.
    func populateSeh(ctxt *obj.Link, s *obj.LSym) (sehsym *obj.LSym) {
    	if s.NoFrame() {
    		return
    	}
    
    	// This implementation expects the following function prologue layout:
    	// - Stack split code (optional)
    	// - PUSHQ	BP
    	// - MOVQ	SP,	BP
    	//
    	// If the prologue layout change, the unwind information should be updated
    	// accordingly.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. src/runtime/proc.go

    	// other threads, so mp is usually not getg().m.
    	// In fact mp may not even be stopped.
    	// See golang.org/issue/17165.
    	getg().m.mallocing++
    
    	var u unwinder
    	var stk [maxCPUProfStack]uintptr
    	n := 0
    	if mp.ncgo > 0 && mp.curg != nil && mp.curg.syscallpc != 0 && mp.curg.syscallsp != 0 {
    		cgoOff := 0
    		// Check cgoCallersUse to make sure that we are not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  7. src/runtime/traceback_system_test.go

    		t.Fatalf("child process did not produce a crash report")
    	}
    
    	// Parse the PCs out of the child's crash report.
    	pcs, err := parseStackPCs(crash)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Unwind the stack using this executable's symbol table.
    	got := formatStack(pcs)
    	want := `redacted.go:0: runtime.gopanic
    traceback_system_test.go:85: runtime_test.child7: 	panic("oops")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. src/cmd/go/main.go

    				os.Exit(2)
    			}
    			if !filepath.IsAbs(p) {
    				if cfg.Getenv("GOPATH") == "" {
    					// We inferred $GOPATH from $HOME and did a bad job at it.
    					// Instead of dying, uninfer it.
    					cfg.BuildContext.GOPATH = ""
    				} else {
    					counterErrorsGOPATHEntryRelative.Inc()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/security.go

    	re(`-W`),
    	re(`-W([^@,]+)`), // -Wall but not -Wa,-foo.
    	re(`-Wa,-mbig-obj`),
    	re(`-Wp,-D([A-Za-z_][A-Za-z0-9_]*)(=[^@,\-]*)?`),
    	re(`-Wp,-U([A-Za-z_][A-Za-z0-9_]*)`),
    	re(`-ansi`),
    	re(`-f(no-)?asynchronous-unwind-tables`),
    	re(`-f(no-)?blocks`),
    	re(`-f(no-)builtin-[a-zA-Z0-9_]*`),
    	re(`-f(no-)?common`),
    	re(`-f(no-)?constant-cfstrings`),
    	re(`-fdebug-prefix-map=([^@]+)=([^@]+)`),
    	re(`-fdiagnostics-show-note-include-stack`),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/runtime/race.go

    			ctx.file = &bytes(file)[0] // assume NUL-terminated
    			ctx.off = pc - fi.entry()
    			ctx.res = 1
    			if u.isInlined(uf) {
    				// Set ctx.pc to the "caller" so the race detector calls this again
    				// to further unwind.
    				uf = u.next(uf)
    				ctx.pc = uf.pc
    			}
    			return
    		}
    	}
    	ctx.fn = &qq[0]
    	ctx.file = &dash[0]
    	ctx.line = 0
    	ctx.off = ctx.pc
    	ctx.res = 1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top