Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for frameless (0.33 sec)

  1. src/runtime/testdata/testprog/preempt.go

    	var ready, ready2 uint32
    	go func() {
    		for {
    			atomic.StoreUint32(&ready, 1)
    			dummy()
    			dummy()
    		}
    	}()
    	// Also start one with a frameless function.
    	// This is an especially interesting case for
    	// LR machines.
    	go func() {
    		atomic.AddUint32(&ready2, 1)
    		frameless()
    	}()
    	// Also test empty infinite loop.
    	go func() {
    		atomic.AddUint32(&ready2, 1)
    		for {
    		}
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 07 17:46:04 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer/framepointer.go

    			// Ignore comments and commented-out code.
    			if i := strings.Index(line, "//"); i >= 0 {
    				line = line[:i]
    			}
    			line = strings.TrimSpace(line)
    
    			// We start checking code at a TEXT line for a frameless function.
    			if strings.HasPrefix(line, "TEXT") && strings.Contains(line, "(SB)") && strings.Contains(line, "$0") {
    				active = true
    				continue
    			}
    			if !active {
    				continue
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/runtime/defs_windows_arm.go

    // However, empirically, LR doesn't come along on Windows 10
    // unless you also set _CONTEXT_INTEGER (0x200002).
    // Without LR, we skip over the next-to-bottom function in profiles
    // when the bottom function is frameless.
    // So we set both here, to make a working _CONTEXT_CONTROL.
    const _CONTEXT_CONTROL = 0x200003
    
    type neon128 struct {
    	low  uint64
    	high int64
    }
    
    type context struct {
    	contextflags uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. src/runtime/defs_windows_arm64.go

    // However, empirically, LR doesn't come along on Windows 10
    // unless you also set _CONTEXT_INTEGER (0x400002).
    // Without LR, we skip over the next-to-bottom function in profiles
    // when the bottom function is frameless.
    // So we set both here, to make a working _CONTEXT_CONTROL.
    const _CONTEXT_CONTROL = 0x400003
    
    type neon128 struct {
    	low  uint64
    	high int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. src/runtime/stack.go

    // +------------------+
    // |  args to callee  |
    // +------------------+
    // |  return address  |
    // +------------------+ <- frame->sp
    //
    // varp > sp means that the function has a frame;
    // varp == sp means frameless function.
    
    type adjustinfo struct {
    	old   stack
    	delta uintptr // ptr distance from old to new stack (newbase - oldbase)
    
    	// sghi is the highest sudog.elem on the stack.
    	sghi uintptr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/x86/obj6.go

    		// Make room to save a base pointer.
    		// There are 2 cases we must avoid:
    		// 1) If noframe is set (which we do for functions which tail call).
    		// For performance, we also want to avoid:
    		// 2) Frameless leaf functions
    		bpsize = ctxt.Arch.PtrSize
    		autoffset += int32(bpsize)
    		p.To.Offset += int64(bpsize)
    	} else {
    		bpsize = 0
    		p.From.Sym.Set(obj.AttrNoFrame, true)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  7. src/runtime/traceback.go

    		// Note that the calls are simple BL without pushing the return
    		// address, so we use LR directly.
    		//
    		// The kernel helpers are frameless leaf functions, so SP and
    		// LR are not touched.
    		frame.pc = frame.lr
    		frame.lr = 0
    	}
    
    	f := findfunc(frame.pc)
    	if !f.valid() {
    		if flags&unwindSilentErrors == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_buildvcs_auto.txt

    [short] skip
    [!git] skip
    
    cd sub
    exec git init .
    exec git config user.name 'Nameless Gopher'
    exec git config user.email '******@****.***'
    exec git add sub.go
    exec git commit -m 'initial state'
    cd ..
    
    exec git init
    exec git config user.name 'Nameless Gopher'
    exec git config user.email '******@****.***'
    exec git submodule add ./sub
    exec git add go.mod example.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:32 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loader/loader_test.go

    	}
    	es2 := ldr.LookupOrCreateSym("go:info.type.uint8", 0)
    	if es2 == 0 {
    		t.Fatalf("LookupOrCreateSym failed for go.info.type.uint8")
    	}
    	// Create a nameless symbol
    	es3 := ldr.CreateStaticSym("")
    	if es3 == 0 {
    		t.Fatalf("CreateStaticSym failed for nameless sym")
    	}
    
    	// Grab symbol builder pointers
    	sb1 := ldr.MakeSymbolUpdater(es1)
    	sb2 := ldr.MakeSymbolUpdater(es2)
    	sb3 := ldr.MakeSymbolUpdater(es3)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. src/cmd/distpack/archive.go

    func (a *Archive) Add(name, src string, info fs.FileInfo) {
    	a.Files = append(a.Files, File{
    		Name: name,
    		Time: info.ModTime(),
    		Mode: info.Mode(),
    		Size: info.Size(),
    		Src:  src,
    	})
    }
    
    func nameLess(x, y string) bool {
    	for i := 0; i < len(x) && i < len(y); i++ {
    		if x[i] != y[i] {
    			// foo/bar/baz before foo/bar.go, because foo/bar is before foo/bar.go
    			if x[i] == '/' {
    				return true
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 17:37:52 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top