- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for dwarf (0.14 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) -
api/go1.5.txt
pkg debug/dwarf, const ClassLinePtr = 6 pkg debug/dwarf, const ClassLinePtr Class pkg debug/dwarf, const ClassLocListPtr = 7 pkg debug/dwarf, const ClassLocListPtr Class pkg debug/dwarf, const ClassMacPtr = 8 pkg debug/dwarf, const ClassMacPtr Class pkg debug/dwarf, const ClassRangeListPtr = 9 pkg debug/dwarf, const ClassRangeListPtr Class pkg debug/dwarf, const ClassReference = 10 pkg debug/dwarf, const ClassReference Class
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K 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/entry_test.go
package dwarf_test import ( . "debug/dwarf" "encoding/binary" "path/filepath" "reflect" "testing" ) func TestSplit(t *testing.T) { // debug/dwarf doesn't (currently) support split DWARF, but // the attributes that pointed to the split DWARF used to // cause loading the DWARF data to fail entirely (issue // #12592). Test that we can at least read the DWARF data. d := elfData(t, "testdata/split.elf")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:36 UTC 2023 - 16.1K bytes - Viewed (0)