Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 75 for unwinder (0.16 sec)

  1. 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)
  2. src/cmd/cgo/internal/testplugin/testdata/plugin2/plugin2.go

    import "C"
    
    // #include
    // void cfunc() {} // uses cgo_topofstack
    
    import (
    	"reflect"
    	"strings"
    
    	"testplugin/common"
    )
    
    func init() {
    	_ = strings.NewReplacer() // trigger stack unwind, Issue #18190.
    	C.strerror(C.EIO)         // uses cgo_topofstack
    	common.X = 2
    }
    
    type sameNameReusedInPlugins struct {
    	X string
    }
    
    type sameNameHolder struct {
    	F *sameNameReusedInPlugins
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 796 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testplugin/testdata/plugin1/plugin1.go

    package main
    
    // // No C code required.
    import "C"
    
    import (
    	"reflect"
    
    	"testplugin/common"
    )
    
    func F() int {
    	_ = make([]byte, 1<<21) // trigger stack unwind, Issue #18190.
    	return 3
    }
    
    func ReadCommonX() int {
    	return common.X
    }
    
    var Seven int
    
    func call(fn func()) {
    	fn()
    }
    
    func g() {
    	common.X *= Seven
    }
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 820 bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/seh.go

    		if uw == 0 {
    			continue
    		}
    		name := ctxt.SymName(uw)
    		off, cached := uwcache[name]
    		if !cached {
    			off = xdata.Size()
    			uwcache[name] = off
    			xdata.AddBytes(ldr.Data(uw))
    			// The SEH unwind data can contain relocations,
    			// make sure those are copied over.
    			rels := ldr.Relocs(uw)
    			for i := 0; i < rels.Count(); i++ {
    				r := rels.At(i)
    				rel, _ := xdata.AddRel(r.Type())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. test/typeparam/issue58513.go

    	Assert[int](),
    	AssertMV[int](),
    	func() { me(asserter[string]{}) },
    }
    
    func main() {
    	for _, test := range tests {
    		func() {
    			defer func() {
    				recover()
    
    				// Check that we can unwind the stack without infinite looping.
    				runtime.Caller(1000)
    			}()
    			test()
    		}()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 23:07:49 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/callback_windows.go

    		ULONG64 ImageBase;
    		VOID *HandlerData;
    		ULONG64 EstablisherFrame;
    
    		FunctionEntry = RtlLookupFunctionEntry(ControlPc, &ImageBase, NULL);
    
    		if (!FunctionEntry) {
    			// For simplicity, don't unwind leaf entries, which are not used in this test.
    			break;
    		} else {
    			RtlVirtualUnwind(0, ImageBase, ControlPc, FunctionEntry, &context, &HandlerData, &EstablisherFrame, NULL);
    		}
    
    		ControlPc = context.Rip;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 16:01:37 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. src/runtime/cgo/gcc_traceback.c

    #endif
    
    // Call the user's traceback function and then call sigtramp.
    // The runtime signal handler will jump to this code.
    // We do it this way so that the user's traceback function will be called
    // by a C function with proper unwind info.
    void
    x_cgo_callers(uintptr_t sig, void *info, void *context, void (*cgoTraceback)(struct cgoTracebackArg*), uintptr_t* cgoCallers, void (*sigtramp)(uintptr_t, void*, void*)) {
    	struct cgoTracebackArg arg;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 08 20:11:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/CaseSensitiveVfsRelativePathTest.groovy

                ["SS", "ß", "ßa", "ss", "sa", "sb", "st", "ßß"]
    
            ]
        }
    
        @Override
        CaseSensitivity getCaseSensitivity() {
            return CASE_SENSITIVE
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/pcln.go

    	localIndex, ok := s.globalToLocal[globalIndex]
    	if !ok {
    		// We know where to unwind to when we need to unwind a body identified
    		// by globalIndex. But there may be no instructions generated by that
    		// body (it's empty, or its instructions were CSEd with other things, etc.).
    		// In that case, we don't need an unwind entry.
    		// TODO: is this really right? Seems to happen a whole lot...
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/wasm/wasmobj.go

    			default:
    				panic("bad target for CALL")
    			}
    
    			// return value of call is on the top of the stack, indicating whether to unwind the WebAssembly stack
    			if call.As == ACALLNORESUME && call.To.Sym != sigpanic { // sigpanic unwinds the stack, but it never resumes
    				// trying to unwind WebAssembly stack but call has no resume point, terminate with error
    				p = appendp(p, AIf)
    				p = appendp(p, obj.AUNDEF)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
Back to top