- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for dwarf (0.04 sec)
-
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/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/debug/dwarf/entry.go
// DWARF 4 class. For example, DWARF 2 uses "constant" for constants // as well as all types of section offsets, but the reader will // canonicalize attributes in DWARF 2 files that refer to section // offsets to one of the Class*Ptr classes, even though these classes // were only defined in DWARF 3. type Class int const ( // ClassUnknown represents values of unknown DWARF class.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 30.7K bytes - Viewed (0) -
src/debug/dwarf/line.go
if opcode >= r.opcodeBase { // Special opcode [DWARF2 6.2.5.1, DWARF4 6.2.5.1] adjustedOpcode := opcode - r.opcodeBase r.advancePC(adjustedOpcode / r.lineRange) lineDelta := r.lineBase + adjustedOpcode%r.lineRange r.state.Line += lineDelta goto emit } switch opcode { case 0: // Extended opcode [DWARF2 6.2.5.3] length := Offset(r.buf.uint()) startOff := r.buf.off
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 23.5K bytes - Viewed (0) -
src/debug/dwarf/const.go
AttrDefaulted Attr = 0x8B AttrLoclistsBase Attr = 0x8C ) func (a Attr) GoString() string { if str, ok := _Attr_map[a]; ok { return "dwarf.Attr" + str } return "dwarf." + a.String() } // A format is a DWARF data encoding format. type format uint32 const ( // value formats formAddr format = 0x01 formDwarfBlock2 format = 0x03 formDwarfBlock4 format = 0x04
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 13.8K bytes - Viewed (0) -
src/cmd/compile/internal/dwarfgen/dwinl.go
func assembleInlines(fnsym *obj.LSym, dwVars []*dwarf.Var) dwarf.InlCalls { var inlcalls dwarf.InlCalls if base.Debug.DwarfInl != 0 { base.Ctxt.Logf("assembling DWARF inlined routine info for %v\n", fnsym.Name) } // This maps inline index (from Ctxt.InlTree) to index in inlcalls.Calls imap := make(map[int]int) // Walk progs to build up the InlCalls data structure var prevpos src.XPos
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:45:07 UTC 2024 - 12.8K bytes - Viewed (0) -
src/debug/dwarf/type.go
// storage unit is "unsigned"). BitOffset values can vary depending on // the endianness of the system. BitOffset corresponds to the // DW_AT_bit_offset DWARF attribute that was deprecated in DWARF 4 and // removed in DWARF 5. // // At most one of DataBitOffset and BitOffset will be non-zero; // DataBitOffset/BitOffset will only be non-zero if BitSize is // non-zero. Whether a C compiler uses one or the other
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 21.9K bytes - Viewed (0) -
src/debug/pe/file.go
b, err := sectionData(s) 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: Wed Oct 18 19:33:30 UTC 2023 - 17.2K bytes - Viewed (0)