Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for dwarf (0.06 sec)

  1. src/debug/dwarf/type.go

    // storage unit is "unsigned"). BitOffset values can vary depending on
    // the endianness of the system. BitOffset corresponds to the
    // DW_AT_bit_offset DWARF attribute that was deprecated in DWARF 4 and
    // removed in DWARF 5.
    //
    // At most one of DataBitOffset and BitOffset will be non-zero;
    // DataBitOffset/BitOffset will only be non-zero if BitSize is
    // non-zero. Whether a C compiler uses one or the other
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  2. src/internal/xcoff/xcoff.go

    )
    const (
    	SSUBTYP_DWINFO  = 0x10000 // DWARF info section
    	SSUBTYP_DWLINE  = 0x20000 // DWARF line-number section
    	SSUBTYP_DWPBNMS = 0x30000 // DWARF public names section
    	SSUBTYP_DWPBTYP = 0x40000 // DWARF public types section
    	SSUBTYP_DWARNGE = 0x50000 // DWARF aranges section
    	SSUBTYP_DWABREV = 0x60000 // DWARF abbreviation section
    	SSUBTYP_DWSTR   = 0x70000 // DWARF strings section
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. src/debug/dwarf/line_test.go

    package dwarf_test
    
    import (
    	. "debug/dwarf"
    	"io"
    	"strings"
    	"testing"
    )
    
    var (
    	file1C = &LineFile{Name: "/home/austin/go.dev/src/debug/dwarf/testdata/line1.c"}
    	file1H = &LineFile{Name: "/home/austin/go.dev/src/debug/dwarf/testdata/line1.h"}
    	file2C = &LineFile{Name: "/home/austin/go.dev/src/debug/dwarf/testdata/line2.c"}
    )
    
    func TestLineELFGCC(t *testing.T) {
    	// Generated by:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. src/debug/pe/file.go

    		b, err := sectionData(s)
    		if err != nil {
    			return nil, err
    		}
    		dat[suffix] = b
    	}
    
    	d, err := dwarf.New(dat["abbrev"], nil, nil, dat["info"], dat["line"], nil, dat["ranges"], dat["str"])
    	if err != nil {
    		return nil, err
    	}
    
    	// Look for DWARF4 .debug_types sections and DWARF5 sections.
    	for i, s := range f.Sections {
    		suffix := dwarfSuffix(s)
    		if suffix == "" {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  5. src/debug/macho/file.go

    func (f *File) Section(name string) *Section {
    	for _, s := range f.Sections {
    		if s.Name == name {
    			return s
    		}
    	}
    	return nil
    }
    
    // DWARF returns the DWARF debug information for the Mach-O file.
    func (f *File) DWARF() (*dwarf.Data, error) {
    	dwarfSuffix := func(s *Section) string {
    		switch {
    		case strings.HasPrefix(s.Name, "__debug_"):
    			return s.Name[8:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  6. src/internal/xcoff/file.go

    					if err != nil {
    						return nil
    					}
    					return dat
    				}
    			}
    			break
    		}
    	}
    	return nil
    }
    
    func (f *File) DWARF() (*dwarf.Data, error) {
    	// There are many other DWARF sections, but these
    	// are the ones the debug/dwarf package uses.
    	// Don't bother loading others.
    	var subtypes = [...]uint32{SSUBTYP_DWABREV, SSUBTYP_DWINFO, SSUBTYP_DWLINE, SSUBTYP_DWRNGES, SSUBTYP_DWSTR}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. src/debug/pe/file_test.go

    	}
    
    	d, err := f.DWARF()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// look for main.main
    	r := d.Reader()
    	for {
    		e, err := r.Next()
    		if err != nil {
    			t.Fatal("r.Next:", err)
    		}
    		if e == nil {
    			break
    		}
    		if e.Tag == dwarf.TagSubprogram {
    			name, ok := e.Val(dwarf.AttrName).(string)
    			if ok && name == "main.main" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 01 02:25:16 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  8. api/go1.4.txt

    # CL 117280043 debug/dwarf: fix Reader panic on DW_TAG_unspecified_type, Derek Parker <******@****.***>
    pkg debug/dwarf, method (*UnspecifiedType) Basic() *BasicType
    pkg debug/dwarf, method (*UnspecifiedType) Common() *CommonType
    pkg debug/dwarf, method (*UnspecifiedType) Size() int64
    pkg debug/dwarf, method (*UnspecifiedType) String() string
    pkg debug/dwarf, type UnspecifiedType struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  9. src/debug/elf/file.go

    		if err != nil {
    			return nil, err
    		}
    		dat[suffix] = b
    	}
    
    	d, err := dwarf.New(dat["abbrev"], nil, nil, dat["info"], dat["line"], nil, dat["ranges"], dat["str"])
    	if err != nil {
    		return nil, err
    	}
    
    	// Look for DWARF4 .debug_types sections and DWARF5 sections.
    	for i, s := range f.Sections {
    		suffix := dwarfSuffix(s)
    		if suffix == "" {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  10. src/cmd/dist/buildtool.go

    	"cmp",
    	"cmd/asm",
    	"cmd/asm/internal/...",
    	"cmd/cgo",
    	"cmd/compile",
    	"cmd/compile/internal/...",
    	"cmd/internal/archive",
    	"cmd/internal/bio",
    	"cmd/internal/codesign",
    	"cmd/internal/dwarf",
    	"cmd/internal/edit",
    	"cmd/internal/gcprog",
    	"cmd/internal/goobj",
    	"cmd/internal/notsha256",
    	"cmd/internal/obj/...",
    	"cmd/internal/objabi",
    	"cmd/internal/pgo",
    	"cmd/internal/pkgpath",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top