Skip to content

Enable an efficent way of parsing only the compile unit DIE #251

Open
@philipc

Description

@philipc

In order to parse the compile unit DIE, we currently need to parse all abbreviations, and allocate storage for them. It would be nice to have a way of parsing only the abbreviation for the compile unit (no allocation needed).

For example, this would be useful in addr2line when running without the '-f' option.

One way of doing this would be to change Abbreviations to be a trait. This would also allow alternative implementations that used a storage method of the user's choice (although maybe that wouldn't be beneficial unless Abbreviation was also a trait.)

Not sure if this is worth the additional complexity though.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions