Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for ntramps (0.34 sec)

  1. src/cmd/link/internal/ld/data.go

    			// lay down trampolines after each function
    			for ; ntramps < len(ctxt.tramps); ntramps++ {
    				tramp := ctxt.tramps[ntramps]
    				if ctxt.IsAIX() && strings.HasPrefix(ldr.SymName(tramp), "runtime.text.") {
    					// Already set in assignAddress
    					continue
    				}
    				sect, n, va = assignAddress(ctxt, sect, n, tramp, va, true, big)
    			}
    		}
    
    		// merge tramps into Textp, keeping Textp in address order
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  2. src/cmd/link/internal/arm/asm.go

    			offset := (signext24(r.Add()&0xffffff) + 2) * 4
    			var tramp loader.Sym
    			for i := 0; ; i++ {
    				oName := ldr.SymName(rs)
    				name := oName + fmt.Sprintf("%+d-tramp%d", offset, i)
    				tramp = ldr.LookupOrCreateSym(name, int(ldr.SymVersion(rs)))
    				ldr.SetAttrReachable(tramp, true)
    				if ldr.SymType(tramp) == sym.SDYNIMPORT {
    					// don't reuse trampoline defined in other module
    					continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/trampoline_reuse_test.txt

    # assembly 2^26 or so times.
    #
    # We build something which should be laid out as such:
    #
    # bar.Bar
    # main.Func1
    # bar.Bar+400-tramp0
    # main.BigAsm
    # main.Func2
    # bar.Bar+400-tramp1
    #
    # bar.Bar needs to be placed far enough away to generate relocations
    # from main package calls. and main.Func1 and main.Func2 are placed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 14:31:23 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. src/cmd/link/internal/riscv64/asm.go

    		// a new trampoline.
    		var tramp loader.Sym
    		for i := 0; ; i++ {
    			oName := ldr.SymName(rs)
    			name := fmt.Sprintf("%s-tramp%d", oName, i)
    			if r.Add() != 0 {
    				name = fmt.Sprintf("%s%+x-tramp%d", oName, r.Add(), i)
    			}
    			tramp = ldr.LookupOrCreateSym(name, int(ldr.SymVersion(rs)))
    			ldr.SetAttrReachable(tramp, true)
    			if ldr.SymType(tramp) == sym.SDYNIMPORT {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/tests/go122-annotations.test

    	pc=4815228 func=38 file=31 line=27
    Stack id=12 nframes=1
    	pc=4815680 func=34 file=31 line=37
    Stack id=6 nframes=1
    	pc=4544768 func=43 file=42 line=868
    Stack id=2 nframes=3
    	pc=4538523 func=45 file=42 line=238
    	pc=4814277 func=37 file=36 line=125
    	pc=4815228 func=38 file=31 line=27
    Stack id=13 nframes=1
    	pc=4815492 func=38 file=31 line=37
    Stack id=4 nframes=1
    	pc=4547456 func=56 file=50 line=42
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/cmd/link/internal/arm64/asm.go

    					break
    				}
    			}
    			if ldr.SymType(tramp) == 0 {
    				// trampoline does not exist, create one
    				trampb := ldr.MakeSymbolUpdater(tramp)
    				ctxt.AddTramp(trampb)
    				if ldr.SymType(rs) == sym.SDYNIMPORT {
    					if r.Add() != 0 {
    						ctxt.Errorf(s, "nonzero addend for DYNIMPORT call: %v+%d", ldr.SymName(rs), r.Add())
    					}
    					gentrampgot(ctxt, ldr, trampb, rs)
    				} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/tests/go122-annotations-stress.test

    Stack id=65 nframes=2
    	pc=4803943 func=112 file=113 line=64
    	pc=4803629 func=114 file=113 line=47
    Stack id=28 nframes=1
    	pc=4804691 func=124 file=113 line=70
    Stack id=48 nframes=2
    	pc=4803943 func=112 file=113 line=64
    	pc=4803589 func=114 file=113 line=45
    Stack id=61 nframes=3
    	pc=4599892 func=130 file=131 line=195
    	pc=4804036 func=112 file=113 line=83
    	pc=4803609 func=114 file=113 line=46
    Stack id=13 nframes=2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  8. src/cmd/trace/testdata/go122.test

    	pc=5078500 func=35 file=36 line=68
    Stack id=13 nframes=1
    	pc=5077820 func=35 file=36 line=28
    Stack id=65 nframes=2
    	pc=4224086 func=57 file=58 line=145
    	pc=5080123 func=59 file=36 line=94
    Stack id=21 nframes=3
    	pc=4640852 func=60 file=61 line=195
    	pc=5081128 func=62 file=36 line=125
    	pc=5077843 func=35 file=36 line=32
    Stack id=11 nframes=1
    	pc=5077754 func=35 file=36 line=27
    Stack id=10 nframes=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 166K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ppc64/asm.go

    				trampb := ldr.MakeSymbolUpdater(tramp)
    				ctxt.AddTramp(trampb)
    				gentramp(ctxt, ldr, trampb, rs, r.Add())
    			}
    			sb := ldr.MakeSymbolUpdater(s)
    			relocs := sb.Relocs()
    			r := relocs.At(ri)
    			r.SetSym(tramp)
    			r.SetAdd(0) // This was folded into the trampoline target address
    		}
    	default:
    		ctxt.Errorf(s, "trampoline called with non-jump reloc: %d (%s)", r.Type(), sym.RelocName(ctxt.Arch, r.Type()))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  10. src/internal/trace/generation.go

    		// Read how many frames are in each stack.
    		nFrames, err := binary.ReadUvarint(r)
    		if err != nil {
    			return err
    		}
    		if nFrames > go122.MaxFramesPerStack {
    			return fmt.Errorf("invalid stack size %d, maximum is %d", nFrames, go122.MaxFramesPerStack)
    		}
    
    		// Each frame consists of 4 fields: pc, funcID (string), fileID (string), line.
    		frames := make([]uint64, 0, nFrames)
    		for i := uint64(0); i < nFrames; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top