Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for dwarf (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/link/internal/ld/main.go

    	flag.Var(&flagExtld, "extld", "use `linker` when linking in external mode")
    	flag.Var(&flagExtldflags, "extldflags", "pass `flags` to external linker")
    	flag.Var(&flagW, "w", "disable DWARF generation")
    }
    
    // Flags used by the linker. The exported flags are used by the architecture-specific packages.
    var (
    	flagBuildid = flag.String("buildid", "", "record `id` as Go toolchain build id")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/riscv/cpu.go

    	REG_FT10 = REG_F30
    	REG_FT11 = REG_F31
    
    	// Names generated by the SSA compiler.
    	REGSP = REG_SP
    	REGG  = REG_G
    )
    
    // https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-dwarf.adoc#dwarf-register-numbers
    var RISCV64DWARFRegisters = map[int16]int16{
    	// Integer Registers.
    	REG_X0:  0,
    	REG_X1:  1,
    	REG_X2:  2,
    	REG_X3:  3,
    	REG_X4:  4,
    	REG_X5:  5,
    	REG_X6:  6,
    	REG_X7:  7,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/pe.go

    	return sect
    }
    
    // addDWARFSection adds DWARF section to the COFF file f.
    // This function is similar to addSection, but DWARF section names are
    // longer than 8 characters, so they need to be stored in the string table.
    func (f *peFile) addDWARFSection(name string, size int) *peSection {
    	if size == 0 {
    		Exitf("DWARF section %q is empty", name)
    	}
    	// DWARF section names are longer than 8 characters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  8. src/runtime/runtime-gdb_test.go

    	// For issue 16338: ssa decompose phase split a slice into
    	// a collection of scalar vars holding its fields. In such cases
    	// the DWARF variable location expression should be of the
    	// form "var.field" and not just "field".
    	// However, the newer dwarf location list code reconstituted
    	// aggregates from their fields and reverted their printing
    	// back to its original form.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/link.go

    	DwFixups           *DwarfFixupTable
    	Imports            []goobj.ImportedPkg
    	DiagFunc           func(string, ...interface{})
    	DiagFlush          func()
    	DebugInfo          func(fn *LSym, info *LSym, curfn Func) ([]dwarf.Scope, dwarf.InlCalls)
    	GenAbstractFunc    func(fn *LSym)
    	Errors             int
    
    	InParallel    bool // parallel backend phase in effect
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. src/cmd/internal/objabi/reloctype.go

    	// R_DWARFSECREF resolves to the offset of the symbol from its section.
    	// Target of relocation must be size 4 (in current implementation).
    	R_DWARFSECREF
    
    	// R_DWARFFILEREF resolves to an index into the DWARF .debug_line
    	// file table for the specified file symbol. Must be applied to an
    	// attribute of form DW_FORM_data4.
    	R_DWARFFILEREF
    
    	// Platform dependent relocations. Architectures with fixed width instructions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top