Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for dwarf (0.1 sec)

  1. src/cmd/link/internal/ld/decodesym.go

    	switch sz {
    	case 2:
    		return uint64(arch.ByteOrder.Uint16(p))
    	case 4:
    		return uint64(arch.ByteOrder.Uint32(p))
    	case 8:
    		return arch.ByteOrder.Uint64(p)
    	default:
    		Exitf("dwarf: decode inuxi %d", sz)
    		panic("unreachable")
    	}
    }
    
    func commonsize(arch *sys.Arch) int      { return abi.CommonSize(arch.PtrSize) }      // runtime._type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/objfile.go

    		ctxt.Imports[i].Write(w.Writer)
    	}
    
    	// Package references
    	h.Offsets[goobj.BlkPkgIdx] = w.Offset()
    	for _, pkg := range w.pkglist {
    		w.StringRef(pkg)
    	}
    
    	// File table (for DWARF and pcln generation).
    	h.Offsets[goobj.BlkFile] = w.Offset()
    	for _, f := range ctxt.PosTable.FileTable() {
    		w.StringRef(filepath.ToSlash(f))
    	}
    
    	// Symbol definitions
    	h.Offsets[goobj.BlkSymdef] = w.Offset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testplugin/plugin_test.go

    			t.Helper()
    			t.Fatalf("%s: %v\n%s", strings.Join(cmd.Args, " "), err, cmd.Stderr)
    		}
    	}
    
    	return string(bytes.TrimSpace(out))
    }
    
    func TestDWARFSections(t *testing.T) {
    	// test that DWARF sections are emitted for plugins and programs importing "plugin"
    	globalSkip(t)
    	goCmd(t, "run", "./checkdwarf/main.go", "plugin2.so", "plugin2.UnexportedNameReuse")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/plist.go

    	s.Set(AttrNeedCtxt, flag&NEEDCTXT != 0)
    	s.Set(AttrNoFrame, flag&NOFRAME != 0)
    	s.Set(AttrPkgInit, flag&PKGINIT != 0)
    	s.Type = objabi.STEXT
    	ctxt.Text = append(ctxt.Text, s)
    
    	// Set up DWARF entries for s
    	ctxt.dwarfSym(s)
    }
    
    func (ctxt *Link) toFuncFlag(flag int) abi.FuncFlag {
    	var out abi.FuncFlag
    	if flag&TOPFRAME != 0 {
    		out |= abi.FuncFlagTopFrame
    	}
    	if ctxt.IsAsm {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/shifts.go

    	// from src/compress/lzw/reader.go:90
    	{
    		var d struct {
    			bits     uint32
    			width    uint
    		}
    		_ = uint16(d.bits & (1<<d.width - 1))
    	}
    
    	// from src/debug/dwarf/buf.go:116
    	{
    		var ux uint64
    		var bits uint
    		x := int64(ux)
    		if x&(1<<(bits-1)) != 0 {}
    	}
    
    	// from src/encoding/asn1/asn1.go:160
    	{
    		var bytes []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssagen/pgen.go

    		// set the R_WEAK bit, leave rest of reloc type intact
    		fn.LSym.R[i].Type |= objabi.R_WEAK
    	}
    }
    
    // StackOffset returns the stack location of a LocalSlot relative to the
    // stack pointer, suitable for use in a DWARF location entry. This has nothing
    // to do with its offset in the user variable.
    func StackOffset(slot ssa.LocalSlot) int32 {
    	n := slot.N
    	var off int64
    	switch n.Class {
    	case ir.PPARAM, ir.PPARAMOUT:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/runtime/runtime-gdb.py

    
    def iface_dtype(obj):
    	"Decode type of the data field of an eface or iface struct."
    	# known issue: dtype_name decoded from runtime.rtype is "nested.Foo"
    	# but the dwarf table lists it as "full/path/to/nested.Foo"
    
    	dynamic_go_type = iface_commontype(obj)
    	if dynamic_go_type is None:
    		return
    	dtype_name = dynamic_go_type['string'].dereference()['str'].string()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  8. src/runtime/string.go

    			break
    		}
    		size2 += encoderune(b[size2:], r)
    	}
    	return s[:size2]
    }
    
    type stringStruct struct {
    	str unsafe.Pointer
    	len int
    }
    
    // Variant with *byte pointer type for DWARF debugging.
    type stringStructDWARF struct {
    	str *byte
    	len int
    }
    
    func stringStructOf(sp *string) *stringStruct {
    	return (*stringStruct)(unsafe.Pointer(sp))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProviderTest.groovy

    -disable-free -disable-llvm-verifier -main-file-name - -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -target-linker-version 2.24 -v -dwarf-column-info -resource-dir /usr/lib/llvm-3.6/bin/../lib/clang/3.6.0 -internal-isystem /usr/local/include -internal-isystem /usr/lib/llvm-3.6/bin/../lib/clang/3.6.0/include -internal-externc-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/include -...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 06:01:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. src/go/build/deps_test.go

    	# suffix array
    	encoding/binary, regexp
    	< index/suffixarray;
    
    	# executable parsing
    	FMT, encoding/binary, compress/zlib, internal/saferio, internal/zstd, sort
    	< runtime/debug
    	< debug/dwarf
    	< debug/elf, debug/gosym, debug/macho, debug/pe, debug/plan9obj, internal/xcoff
    	< debug/buildinfo
    	< DEBUG;
    
    	# go parser and friends.
    	FMT, sort
    	< internal/gover
    	< go/version
    	< go/token
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top