Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for debug_rnglists (0.15 sec)

  1. src/debug/dwarf/testdata/debug_rnglists

    Alessandro Arzilli <******@****.***> 1591282746 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 24 04:11:41 UTC 2020
    - 23 bytes
    - Viewed (0)
  2. src/debug/dwarf/dwarf5ranges_test.go

    	"os"
    	"reflect"
    	"testing"
    )
    
    func TestDwarf5Ranges(t *testing.T) {
    	rngLists, err := os.ReadFile("testdata/debug_rnglists")
    	if err != nil {
    		t.Fatalf("could not read test data: %v", err)
    	}
    
    	d := &Data{}
    	d.order = binary.LittleEndian
    	if err := d.AddSection(".debug_rnglists", rngLists); err != nil {
    		t.Fatal(err)
    	}
    	u := &unit{
    		asize: 8,
    		vers:  5,
    		is64:  true,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 18:06:06 UTC 2020
    - 925 bytes
    - Viewed (0)
  3. src/debug/dwarf/open.go

    	var err error
    	switch name {
    	case ".debug_addr":
    		d.addr = contents
    	case ".debug_line_str":
    		d.lineStr = contents
    	case ".debug_str_offsets":
    		d.strOffsets = contents
    	case ".debug_rnglists":
    		d.rngLists = contents
    	}
    	// Just ignore names that we don't yet support.
    	return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. src/debug/dwarf/const.go

    const (
    	utCompile      = 0x01
    	utType         = 0x02
    	utPartial      = 0x03
    	utSkeleton     = 0x04
    	utSplitCompile = 0x05
    	utSplitType    = 0x06
    )
    
    // Opcodes for DWARFv5 debug_rnglists section.
    const (
    	rleEndOfList    = 0x0
    	rleBaseAddressx = 0x1
    	rleStartxEndx   = 0x2
    	rleStartxLength = 0x3
    	rleOffsetPair   = 0x4
    	rleBaseAddress  = 0x5
    	rleStartEnd     = 0x6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. src/debug/dwarf/entry.go

    			base = high
    		} else {
    			ret = append(ret, [2]uint64{base + low, base + high})
    		}
    	}
    
    	return ret, nil
    }
    
    // dwarf5Ranges interprets a debug_rnglists sequence, see DWARFv5 section
    // 2.17.3 (page 53).
    func (d *Data) dwarf5Ranges(u *unit, cu *Entry, base uint64, ranges int64, ret [][2]uint64) ([][2]uint64, error) {
    	if ranges < 0 || ranges > int64(len(d.rngLists)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 30.7K bytes
    - Viewed (0)
Back to top