Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 146 for dwarf (0.13 sec)

  1. src/cmd/compile/internal/dwarfgen/dwinl.go

    func assembleInlines(fnsym *obj.LSym, dwVars []*dwarf.Var) dwarf.InlCalls {
    	var inlcalls dwarf.InlCalls
    
    	if base.Debug.DwarfInl != 0 {
    		base.Ctxt.Logf("assembling DWARF inlined routine info for %v\n", fnsym.Name)
    	}
    
    	// This maps inline index (from Ctxt.InlTree) to index in inlcalls.Calls
    	imap := make(map[int]int)
    
    	// Walk progs to build up the InlCalls data structure
    	var prevpos src.XPos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. src/debug/dwarf/entry_test.go

    package dwarf_test
    
    import (
    	. "debug/dwarf"
    	"encoding/binary"
    	"path/filepath"
    	"reflect"
    	"testing"
    )
    
    func TestSplit(t *testing.T) {
    	// debug/dwarf doesn't (currently) support split DWARF, but
    	// the attributes that pointed to the split DWARF used to
    	// cause loading the DWARF data to fail entirely (issue
    	// #12592). Test that we can at least read the DWARF data.
    	d := elfData(t, "testdata/split.elf")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/link/dwarf_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"bytes"
    	cmddwarf "cmd/internal/dwarf"
    	"cmd/internal/objfile"
    	"cmd/internal/quoted"
    	"debug/dwarf"
    	"internal/platform"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 17:05:14 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. src/cmd/link/internal/sym/compilation_unit.go

    // loaded by the linker.
    //
    // These are used for both DWARF and pclntab generation.
    type CompilationUnit struct {
    	Lib       *Library      // Our library
    	PclnIndex int           // Index of this CU in pclntab
    	PCs       []dwarf.Range // PC ranges, relative to Textp[0]
    	DWInfo    *dwarf.DWDie  // CU root DIE
    	FileTable []string      // The file table used in this compilation unit.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:39:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/cmd/internal/objfile/macho.go

    	if seg := f.macho.Segment("__TEXT"); seg != nil {
    		return seg.Addr, nil
    	}
    	return 0, fmt.Errorf("unknown load address")
    }
    
    func (f *machoFile) dwarf() (*dwarf.Data, error) {
    	return f.macho.DWARF()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/internal/objfile/plan9obj.go

    		return "arm"
    	}
    	return ""
    }
    
    func (f *plan9File) loadAddress() (uint64, error) {
    	return 0, fmt.Errorf("unknown load address")
    }
    
    func (f *plan9File) dwarf() (*dwarf.Data, error) {
    	return nil, errors.New("no DWARF data in Plan 9 file")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 01:01:44 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/debug/dwarf/type_test.go

    	f, err := elf.Open(name)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	d, err := f.DWARF()
    	if err != nil {
    		t.Fatal(err)
    	}
    	return d
    }
    
    func machoData(t *testing.T, name string) *Data {
    	f, err := macho.Open(name)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	d, err := f.DWARF()
    	if err != nil {
    		t.Fatal(err)
    	}
    	return d
    }
    
    func peData(t *testing.T, name string) *Data {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 8.8K bytes
    - Viewed (0)
Back to top