Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for unwinder (0.32 sec)

  1. src/runtime/symtabinl.go

    	// the outermost function.
    	index int32
    }
    
    // newInlineUnwinder creates an inlineUnwinder initially set to the inner-most
    // inlined frame at PC. PC should be a "call PC" (not a "return PC").
    //
    // This unwinder uses non-strict handling of PC because it's assumed this is
    // only ever used for symbolic debugging. If things go really wrong, it'll just
    // fall back to the outermost frame.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top