- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 146 for dwarf (0.06 sec)
-
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) -
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) -
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) -
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) -
src/cmd/link/internal/ld/macho_combine_dwarf.go
} return binary.Write(r.f, r.order, data) } // machoCombineDwarf merges dwarf info generated by dsymutil into a macho executable. // // With internal linking, DWARF is embedded into the executable, this lets us do the // same for external linking. // exef is the file of the executable with no DWARF. It must have enough room in the macho // header to add the DWARF sections. (Use ld's -headerpad option) // exem is the macho representation of exef.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 13.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/cmd/go/testdata/script/build_trimpath_cgo.txt
return sortedFiles, nil } -- list-dwarf/read_darwin.go -- package main import ( "debug/dwarf" "debug/macho" ) func readDWARF(exePath string) (*dwarf.Data, error) { machoFile, err := macho.Open(exePath) if err != nil { return nil, err } defer machoFile.Close() return machoFile.DWARF() } -- list-dwarf/read_elf.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 3.6K bytes - Viewed (0)