Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for dwVars (0.84 sec)

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

    		dumpInlCall(inlcalls, k, ilevel+1)
    	}
    
    }
    
    func dumpInlCalls(inlcalls dwarf.InlCalls) {
    	for k, c := range inlcalls.Calls {
    		if c.Root {
    			dumpInlCall(inlcalls, k, 0)
    		}
    	}
    }
    
    func dumpInlVars(dwvars []*dwarf.Var) {
    	for i, dwv := range dwvars {
    		typ := "local"
    		if dwv.Tag == dwarf.DW_TAG_formal_parameter {
    			typ = "param"
    		}
    		ia := 0
    		if dwv.IsInAbstract {
    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/cmd/link/internal/ld/dwarf.go

    		newattr(die, dwarf.DW_AT_encoding, dwarf.DW_CLS_CONSTANT, dwarf.DW_ATE_boolean, 0)
    		newattr(die, dwarf.DW_AT_byte_size, dwarf.DW_CLS_CONSTANT, bytesize, 0)
    
    	case abi.Int,
    		abi.Int8,
    		abi.Int16,
    		abi.Int32,
    		abi.Int64:
    		die = d.newdie(&dwtypes, dwarf.DW_ABRV_BASETYPE, name)
    		newattr(die, dwarf.DW_AT_encoding, dwarf.DW_CLS_CONSTANT, dwarf.DW_ATE_signed, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/dwarf.go

    		dwarf.Sleb128put(dctxt, s, deltaLC)
    	}
    
    	// Output the special opcode.
    	dctxt.AddUint8(s, uint8(opcode))
    }
    
    // implement dwarf.Context
    type dwCtxt struct{ *Link }
    
    func (c dwCtxt) PtrSize() int {
    	return c.Arch.PtrSize
    }
    func (c dwCtxt) Size(s dwarf.Sym) int64 {
    	return s.(*LSym).Size
    }
    func (c dwCtxt) AddInt(s dwarf.Sym, size int, i int64) {
    	ls := s.(*LSym)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:40:28 UTC 2023
    - 22K bytes
    - Viewed (0)
  4. src/cmd/internal/dwarf/dwarf.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package dwarf generates DWARF debugging information.
    // DWARF generation is split between the compiler and the linker,
    // this package contains the shared code.
    package dwarf
    
    import (
    	"bytes"
    	"cmd/internal/src"
    	"errors"
    	"fmt"
    	"internal/buildcfg"
    	"os/exec"
    	"sort"
    	"strconv"
    	"strings"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/link/internal/ld/dwarf_test.go

    		if err != nil {
    			t.Fatalf("error reading DWARF: %v", err)
    		}
    		switch entry.Tag {
    		case dwarf.TagArrayType, dwarf.TagPointerType, dwarf.TagStructType, dwarf.TagBaseType, dwarf.TagSubroutineType, dwarf.TagTypedef:
    		default:
    			continue
    		}
    		typ, err := d.Type(entry.Offset)
    		if err != nil {
    			t.Fatalf("can't read type: %v", err)
    		}
    		if typ.Size() < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/debug/elf/file_test.go

    						{Attr: dwarf.AttrProducer, Val: "GNU C 4.4.1", Class: dwarf.ClassString},
    						{Attr: dwarf.AttrLanguage, Val: int64(1), Class: dwarf.ClassConstant},
    						{Attr: dwarf.AttrName, Val: "go-relocation-test.c", Class: dwarf.ClassString},
    						{Attr: dwarf.AttrCompDir, Val: "/tmp", Class: dwarf.ClassString},
    						{Attr: dwarf.AttrLowpc, Val: uint64(0x0), Class: dwarf.ClassAddress},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  10. 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)
Back to top