symbol

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrLinerCreationFailedBefore = errors.New("failed to initialize liner")

Functions

This section is empty.

Types

type Option added in v0.2.0

type Option func(*Symbolizer)

func WithAttemptThreshold added in v0.2.0

func WithAttemptThreshold(t int) Option

func WithCacheItemTTL added in v0.2.0

func WithCacheItemTTL(ttl time.Duration) Option

func WithCacheSize added in v0.2.0

func WithCacheSize(size int) Option

func WithDemangleMode added in v0.2.0

func WithDemangleMode(mode string) Option

type Symbolizer

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

func NewSymbolizer

func NewSymbolizer(logger log.Logger, opts ...Option) (*Symbolizer, error)

func (*Symbolizer) Close added in v0.2.0

func (s *Symbolizer) Close() error

func (*Symbolizer) Symbolize added in v0.9.0

func (s *Symbolizer) Symbolize(ctx context.Context, m *pb.Mapping, locations []*metastore.Location, debugInfoFile string) (map[*metastore.Location][]metastore.LocationLine, error)

Symbolize attempts to symbolize the given locations using the given debug information file.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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