package loclist
import "golang.org/x/debug/third_party/delve/dwarf/loclist"
Index ¶
- type Dwarf2Reader
- func NewDwarf2Reader(data []byte, ptrSz int) *Dwarf2Reader
- func (rdr *Dwarf2Reader) Empty() bool
- func (rdr *Dwarf2Reader) Next(e *Entry) bool
- func (rdr *Dwarf2Reader) Seek(off int)
- type Entry
Types ¶
type Dwarf2Reader ¶
type Dwarf2Reader struct {
// contains filtered or unexported fields
}
Dwarf2Reader parses and presents DWARF loclist information for DWARF versions 2 through 4.
func NewDwarf2Reader ¶
func NewDwarf2Reader(data []byte, ptrSz int) *Dwarf2Reader
NewDwarf2Reader returns an initialized loclist Reader for DWARF versions 2 through 4.
func (*Dwarf2Reader) Empty ¶
func (rdr *Dwarf2Reader) Empty() bool
Empty returns true if this reader has no data.
func (*Dwarf2Reader) Next ¶
func (rdr *Dwarf2Reader) Next(e *Entry) bool
Next advances the reader to the next loclist entry, returning the entry and true if successful, or nil, false if not.
func (*Dwarf2Reader) Seek ¶
func (rdr *Dwarf2Reader) Seek(off int)
Seek moves the data pointer to the specified offset.
type Entry ¶
Entry represents a single entry in the loclist section.
func (*Entry) BaseAddressSelection ¶
BaseAddressSelection returns true if entry.highpc should be used as the base address for subsequent entries.
Source Files ¶
dwarf2_loclist.go
- Version
- v0.0.0-20250223200816-04bfb7cc7686 (latest)
- Published
- Feb 23, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 1 month ago –
Tools for package owners.