Skip to content

Conversation

@steven-johnson
Copy link
Contributor

  • DWARF v5 has a slightly different header; this recognizes it so we don't fail immediately
  • Add support for the line_strp form
  • Allow for a graceful failure if a debug abbreviation is missing; I've only seen this when compiling for TSAN, and I'm honestly not entirely sure if this is a bug in the DWARF generation for those tools vs a subtle flaw in our parsing, but bailing out early and skipping introspection seems kinder than assert-fail.

- DWARF v5 has a slightly different header; this recognizes it so we don't fail immediately
- Add support for the line_strp form
- Allow for a graceful failure if a debug abbreviation is missing; I've only seen this when compiling for TSAN, and I'm honestly not entirely sure if this is a bug in the DWARF generation for those tools vs a subtle flaw in our parsing, but bailing out early and skipping introspection seems kinder than assert-fail.
Copy link
Member

@abadams abadams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me.

@steven-johnson steven-johnson merged commit 36dd10f into master Nov 17, 2021
@steven-johnson steven-johnson deleted the srj/dwarf5 branch November 17, 2021 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants