Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 146 for dwarf (0.07 sec)

  1. src/cmd/internal/objfile/pe.go

    		return uint64(oh.ImageBase), nil
    	case *pe.OptionalHeader64:
    		return oh.ImageBase, nil
    	default:
    		return 0, fmt.Errorf("pe file format not recognized")
    	}
    }
    
    func (f *peFile) dwarf() (*dwarf.Data, error) {
    	return f.pe.DWARF()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 20 00:56:30 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/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: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  3. src/cmd/internal/objfile/elf.go

    			// start address of the mapping to compute PC
    			// delta.
    			return p.Vaddr - p.Vaddr%p.Align, nil
    		}
    	}
    	return 0, fmt.Errorf("unknown load address")
    }
    
    func (f *elfFile) dwarf() (*dwarf.Data, error) {
    	return f.elf.DWARF()
    }
    
    func (f *elfFile) symbolData(start, end string) []byte {
    	elfSyms, err := f.elf.Symbols()
    	if err != nil {
    		return nil
    	}
    	var addr, eaddr uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 20:44:50 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/internal/objfile/xcoff.go

    		return "ppc64"
    	}
    	return ""
    }
    
    func (f *xcoffFile) loadAddress() (uint64, error) {
    	return 0, fmt.Errorf("unknown load address")
    }
    
    func (f *xcoffFile) dwarf() (*dwarf.Data, error) {
    	return f.xcoff.DWARF()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 11 18:19:08 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  5. 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)
  6. src/debug/dwarf/testdata/split.c

    // gcc -gsplit-dwarf split.c -o split.elf
    
    int main() 
    {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 15 17:57:56 UTC 2015
    - 59 bytes
    - Viewed (0)
  7. 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)
  8. test/fixedbugs/issue38698.go

    // compile
    
    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This test case caused a panic in the compiler's DWARF gen code.
    
    package p
    
    func ff( /*line :10*/ x string) bool {
    	{
    		var _ /*line :10*/, x int
    		_ = x
    	}
    	return x == ""
    }
    
    
    func h(a string) bool {
    	return ff(a)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 22 20:00:00 UTC 2021
    - 393 bytes
    - Viewed (0)
  9. test/fixedbugs/issue23546.go

    // run
    
    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 23546: type..eq function not generated when
    // DWARF is disabled.
    
    package main
    
    func main() {
    	use(f() == f())
    }
    
    func f() [2]interface{} {
    	var out [2]interface{}
    	return out
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 10 01:20:45 UTC 2018
    - 389 bytes
    - Viewed (0)
  10. src/errors/example_test.go

    		fmt.Println(err)
    	}
    	// Output: 1989-03-15 22:30:00 +0000 UTC: the file system has gone away
    }
    
    func ExampleNew() {
    	err := errors.New("emit macho dwarf: elf header corrupted")
    	if err != nil {
    		fmt.Print(err)
    	}
    	// Output: emit macho dwarf: elf header corrupted
    }
    
    // The fmt package's Errorf function lets us use the package's formatting
    // features to create descriptive error messages.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 02:08:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top