Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Sleb128put (0.2 sec)

  1. src/cmd/internal/dwarf/dwarf.go

    	}
    	return nil
    }
    
    // Uleb128put appends v to s using DWARF's unsigned LEB128 encoding.
    func Uleb128put(ctxt Context, s Sym, v int64) {
    	b := sevenBitU(v)
    	if b == nil {
    		var encbuf [20]byte
    		b = AppendUleb128(encbuf[:0], uint64(v))
    	}
    	ctxt.AddBytes(s, b)
    }
    
    // Sleb128put appends v to s using DWARF's signed LEB128 encoding.
    func Sleb128put(ctxt Context, s Sym, v int64) {
    	b := sevenBitS(v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/dwarf.go

    	// table, which we don't want.
    	lastlen := uint64(s.Size - (lastpc - s.Func().Text.Pc))
    	dctxt.AddUint8(lines, dwarf.DW_LNS_advance_pc)
    	dwarf.Uleb128put(dctxt, lines, int64(lastlen))
    	dctxt.AddUint8(lines, 0) // start extended opcode
    	dwarf.Uleb128put(dctxt, lines, 1)
    	dctxt.AddUint8(lines, dwarf.DW_LNE_end_sequence)
    }
    
    func putpclcdelta(linkctxt *Link, dctxt dwCtxt, s *LSym, deltaPC uint64, deltaLC int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:40:28 UTC 2023
    - 22K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/dwarf.go

    		dwarf.Uleb128put(d, fsd, int64(thearch.Dwarfregsp)) // ...of the platform's SP register...
    		dwarf.Uleb128put(d, fsd, int64(0))                  // ...is CFA+0.
    	} else {
    		dwarf.Uleb128put(d, fsd, int64(d.arch.PtrSize)) // ...plus the word size (because the call instruction implicitly adds one word to the frame).
    
    		fsu.AddUint8(dwarf.DW_CFA_offset_extended)                           // The previous value...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top