- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for SkipChildren (0.14 sec)
-
src/debug/dwarf/entry.go
r.cu = e } } else { r.lastChildren = false } return e, nil } // SkipChildren skips over the child entries associated with // the last [Entry] returned by [Reader.Next]. If that [Entry] did not have // children or [Reader.Next] has not been called, SkipChildren is a no-op. func (r *Reader) SkipChildren() { if r.err != nil || !r.lastChildren { return }
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/cmd/link/internal/ld/dwarf_test.go
} if strings.Contains(lne.File.Name, `\`) { t.Errorf("filename should not contain backslash: %v", lne.File.Name) } } } rdr.SkipChildren() } } func TestIssue38192(t *testing.T) { testenv.MustHaveGoBuild(t) mustHaveDWARF(t) t.Parallel() // Build a test program that contains a translation unit whose
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/line_test.go
dr := d.Reader() for { ent, err := dr.Next() if err != nil { t.Fatal("dr.Next:", err) } else if ent == nil { break } if ent.Tag != TagCompileUnit { dr.SkipChildren() continue } // Ignore system compilation units (this happens in // the Windows binary). We'll still decode the line // table, but won't check it. name := ent.Val(AttrName).(string)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:36 UTC 2023 - 14.5K bytes - Viewed (0) -
src/debug/dwarf/entry_test.go
units[method] = append(units[method], ent.Val(AttrName)) } if method == 0 { if ent.Tag != TagCompileUnit { t.Fatalf("found unexpected tag %v on top level", ent.Tag) } r.SkipChildren() } } } t.Logf("skipping CUs: %v", units[0]) t.Logf("not-skipping CUs: %v", units[1]) if !reflect.DeepEqual(units[0], units[1]) { t.Fatal("set of CUs differ") } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:36 UTC 2023 - 16.1K bytes - Viewed (0)