Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for unwinder (0.21 sec)

  1. 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)
  2. 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)
  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. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                if (name.equals("li")) {
                    unwindTo(Arrays.asList("ul", "ol"), visitor);
                } else if (name.equals("dt") || name.endsWith("dd")) {
                    unwindTo(Arrays.asList("dl"), visitor);
                } else if (name.equals("tr")) {
                    unwindTo(Arrays.asList("table", "thead", "tbody"), visitor);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/textflag.h

    #define NOFRAME 512
    // Function can call reflect.Type.Method or reflect.Type.MethodByName.
    #define REFLECTMETHOD 1024
    // Function is the outermost frame of the call stack. Call stack unwinders
    // should stop at this function.
    #define TOPFRAME 2048
    // Function is an ABI wrapper.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 17:28:41 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. test/fixedbugs/issue11656.go

    // doesn't go into the Go runtime.
    
    // wasm does not work, because the linear memory is not executable.
    
    // This test doesn't work on gccgo/GoLLVM, because they will not find
    // any unwind information for the artificial function, and will not be
    // able to unwind past that point.
    
    //go:build !windows && !wasm && !gccgo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 700 bytes
    - Viewed (0)
  8. src/debug/elf/testdata/multiple-code-sections.c

    // Build with:
    // gcc -g multiple-code-sections.c -Wl,--emit-relocs -Wl,--discard-none -Wl,-zmax-page-size=1 -fno-asynchronous-unwind-tables -o go-relocation-test-gcc930-ranges-with-rela-x86-64
    // gcc -g multiple-code-sections.c -Wl,-zmax-page-size=1 -fno-asynchronous-unwind-tables -o go-relocation-test-gcc930-ranges-no-rela-x86-64
    // Strip with:
    // strip --only-keep-debug \
    //       --remove-section=.eh_frame \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 31 18:42:38 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/textflag.go

    	NOFRAME = 512
    
    	// Function can call reflect.Type.Method or reflect.Type.MethodByName.
    	REFLECTMETHOD = 1024
    
    	// Function is the outermost frame of the call stack. Call stack unwinders
    	// should stop at this function.
    	TOPFRAME = 2048
    
    	// Function is an ABI wrapper.
    	ABIWRAPPER = 4096
    
    	// Function is a compiler-generated package init function.
    	PKGINIT = 8192
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:25:30 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loadpe/seh.go

    	"fmt"
    	"sort"
    )
    
    const (
    	UNW_FLAG_EHANDLER  = 1 << 3
    	UNW_FLAG_UHANDLER  = 2 << 3
    	UNW_FLAG_CHAININFO = 4 << 3
    	unwStaticDataSize  = 4 // Bytes of unwind data before the variable length part.
    	unwCodeSize        = 2 // Bytes per unwind code.
    )
    
    // processSEH walks all pdata relocations looking for exception handler function symbols.
    // We want to mark these as reachable if the function that they protect is reachable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 16:20:28 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top