addr2line

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrLocationFailedBefore = errors.New("failed to symbolize location, attempts are exhausted")

Functions

This section is empty.

Types

type DwarfLiner added in v0.8.0

type DwarfLiner struct {
	// contains filtered or unexported fields
}

func DWARF

func DWARF(logger log.Logger, path string, m *pb.Mapping, demangler *demangle.Demangler, attemptThreshold int) (*DwarfLiner, error)

DWARF is a symbolizer that uses DWARF debug info to symbolize addresses.

func (*DwarfLiner) PCToLines added in v0.8.0

func (dl *DwarfLiner) PCToLines(addr uint64) (lines []metastore.LocationLine, err error)

type GoLiner added in v0.8.0

type GoLiner struct {
	// contains filtered or unexported fields
}

func Go

func Go(logger log.Logger, path string) (*GoLiner, error)

func (*GoLiner) PCToLines added in v0.8.0

func (gl *GoLiner) PCToLines(addr uint64) (lines []metastore.LocationLine, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL