Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for dwVars (0.13 sec)

  1. test/dwarf/dwarf.go

    // rundir
    
    // Copyright 2009 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.
    
    // See issue 2241 and issue 1878: dwarf include stack size
    // issues in linker.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 11 21:00:48 UTC 2013
    - 268 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/stmtlines_test.go

    package ssa_test
    
    import (
    	cmddwarf "cmd/internal/dwarf"
    	"cmd/internal/quoted"
    	"debug/dwarf"
    	"debug/elf"
    	"debug/macho"
    	"debug/pe"
    	"fmt"
    	"internal/platform"
    	"internal/testenv"
    	"internal/xcoff"
    	"io"
    	"os"
    	"runtime"
    	"sort"
    	"testing"
    )
    
    func open(path string) (*dwarf.Data, error) {
    	if fh, err := elf.Open(path); err == nil {
    		return fh.DWARF()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 17:05:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. src/debug/dwarf/open.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    Package dwarf provides access to DWARF debugging information loaded from
    executable files, as defined in the DWARF 2.0 Standard at
    http://dwarfstd.org/doc/dwarf-2.0.0.pdf.
    
    # Security
    
    This package is not designed to be hardened against adversarial inputs, and is
    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/cmd/internal/objfile/objfile.go

    // executable.
    func (e *Entry) LoadAddress() (uint64, error) {
    	return e.raw.loadAddress()
    }
    
    // DWARF returns DWARF debug data for the file, if any.
    // This is for cmd/pprof to locate cgo functions.
    func (e *Entry) DWARF() (*dwarf.Data, error) {
    	return e.raw.dwarf()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 24 16:01:55 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/build_trimpath_cgo.txt

    	return sortedFiles, nil
    }
    -- list-dwarf/read_darwin.go --
    package main
    
    import (
    	"debug/dwarf"
    	"debug/macho"
    )
    
    func readDWARF(exePath string) (*dwarf.Data, error) {
    	machoFile, err := macho.Open(exePath)
    	if err != nil {
    		return nil, err
    	}
    	defer machoFile.Close()
    	return machoFile.DWARF()
    }
    -- list-dwarf/read_elf.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/pprof/pprof.go

    }
    
    // dwarfSourceLine tries to get file/line information using DWARF.
    // This is for C functions that appear in the profile.
    // Returns nil if there is no information available.
    func (f *file) dwarfSourceLine(addr uint64) []driver.Frame {
    	if f.dwarf == nil && !f.triedDwarf {
    		// Ignore any error--we don't care exactly why there
    		// is no DWARF info.
    		f.dwarf, _ = f.file.DWARF()
    		f.triedDwarf = true
    	}
    
    	if f.dwarf != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/dwtest/dwtest.go

    // for future test writing.
    
    type Examiner struct {
    	dies        []*dwarf.Entry
    	idxByOffset map[dwarf.Offset]int
    	kids        map[int][]int
    	parent      map[int]int
    	byname      map[string][]int
    }
    
    // Populate the Examiner using the DIEs read from rdr.
    func (ex *Examiner) Populate(rdr *dwarf.Reader) error {
    	ex.idxByOffset = make(map[dwarf.Offset]int)
    	ex.kids = make(map[int][]int)
    	ex.parent = make(map[int]int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 15:22:18 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. src/debug/dwarf/buf.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Buffered reading and decoding of DWARF data streams.
    
    package dwarf
    
    import (
    	"bytes"
    	"encoding/binary"
    	"strconv"
    )
    
    // Data buffer being decoded.
    type buf struct {
    	dwarf  *Data
    	order  binary.ByteOrder
    	format dataFormat
    	name   string
    	off    Offset
    	data   []byte
    	err    error
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 21 17:14:08 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testplugin/testdata/checkdwarf/main.go

    		os.Exit(1)
    	}
    
    	data, err := exe.DWARF()
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "%s: error opening DWARF: %v\n", exePath, err)
    		os.Exit(1)
    	}
    
    	rdr := data.Reader()
    	for {
    		e, err := rdr.Next()
    		if err != nil {
    			fmt.Fprintf(os.Stderr, "%s: error reading DWARF: %v\n", exePath, err)
    			os.Exit(1)
    		}
    		if e == nil {
    			break
    		}
    		name, hasname := e.Val(dwarf.AttrName).(string)
    		if !hasname {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. src/debug/dwarf/unit.go

    // Copyright 2009 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.
    
    package dwarf
    
    import (
    	"sort"
    	"strconv"
    )
    
    // DWARF debug info is split into a sequence of compilation units.
    // Each unit has its own abbreviation table and address size.
    
    type unit struct {
    	base   Offset // byte offset of header within the aggregate info
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 21 17:14:08 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top