Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 146 for dwarf (0.06 sec)

  1. src/debug/dwarf/export_test.go

    // Copyright 2017 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
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 26 14:35:20 UTC 2017
    - 199 bytes
    - Viewed (0)
  2. test/fixedbugs/issue44344.go

    // compile
    
    // Copyright 2021 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.
    
    // Issue #44344: a crash in DWARF scope generation (trying to
    // scope the PCs of a function that was inlined away).
    
    package main
    
    func main() {
    	pv := []int{3, 4, 5}
    	if pv[1] != 9 {
    		pv = append(pv, 9)
    	}
    	tryit := func() bool {
    		lpv := len(pv)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 19 14:46:21 UTC 2021
    - 575 bytes
    - Viewed (0)
  3. test/fixedbugs/issue49619.go

    // build
    
    // Copyright 2021 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.
    
    // This testcase caused a linker crash in DWARF generation.
    
    package main
    
    //go:noinline
    func f() any {
    	var a []any
    	return a[0]
    }
    
    func main() {
    	f()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 324 bytes
    - Viewed (0)
  4. src/cmd/link/internal/loong64/l.go

    // license that can be found in the LICENSE file.
    
    package loong64
    
    const (
    	maxAlign  = 32 // max data alignment
    	minAlign  = 1  // min data alignment
    	funcAlign = 16
    )
    
    /* Used by ../../internal/ld/dwarf.go */
    const (
    	dwarfRegSP = 3
    	dwarfRegLR = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 20:21:44 UTC 2023
    - 363 bytes
    - Viewed (0)
  5. 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)
  6. src/debug/dwarf/testdata/cppunsuptypes.cc

    typedef double &dref;
    dref dr = d;
    
    // incorporated into another type
    typedef struct {
      dref q;
      int &r;
    } hasrefs;
    
    hasrefs hr = { d, i };
    
    // This code is intended to trigger a DWARF "pointer to member" type DIE
    struct CS { int dm; };
    
    int foo()
    {
      int CS::* pdm = &CS::dm;
      CS cs = {42};
      return cs.*pdm;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 17:33:46 UTC 2019
    - 667 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/build_issue62156.txt

    # Regression test for https://go.dev/issue/62156:
    # DWARF generation for inlined functions may require more runtime type
    # descriptors to be written.
    
    go build
    
    -- go.mod --
    module m
    
    go 1.20
    -- main.go --
    package main
    
    import "m/sub"
    
    func main() { sub.F() }
    -- sub/sub.go --
    package sub
    
    type iface interface{ m() }
    
    func F() {
    	f := func(rt []iface) []iface {
    		return append([]iface{}, rt...)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 23:18:16 UTC 2023
    - 410 bytes
    - Viewed (0)
  8. src/debug/dwarf/typeunit.go

    // Copyright 2012 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 (
    	"fmt"
    	"strconv"
    )
    
    // Parse the type units stored in a DWARF4 .debug_types section. Each
    // type unit defines a single primary type and an 8-byte signature.
    // Other sections may then use formRefSig8 to refer to the type.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. src/cmd/internal/dwarf/dwarf_test.go

    // Copyright 2017 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 (
    	"reflect"
    	"testing"
    )
    
    func TestSevenBitEnc128(t *testing.T) {
    	t.Run("unsigned", func(t *testing.T) {
    		for v := int64(-255); v < 255; v++ {
    			s := sevenBitU(v)
    			if s == nil {
    				continue
    			}
    			b := AppendUleb128(nil, uint64(v))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 27 17:58:53 UTC 2017
    - 828 bytes
    - Viewed (0)
  10. src/debug/dwarf/class_string.go

    // Code generated by "stringer -type=Class"; DO NOT EDIT.
    
    package dwarf
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[ClassUnknown-0]
    	_ = x[ClassAddress-1]
    	_ = x[ClassBlock-2]
    	_ = x[ClassConstant-3]
    	_ = x[ClassExprLoc-4]
    	_ = x[ClassFlag-5]
    	_ = x[ClassLinePtr-6]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:24:07 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top