Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Introspection issues #6424

Merged
merged 1 commit into from
Nov 17, 2021
Merged

Fix Introspection issues #6424

merged 1 commit into from
Nov 17, 2021

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.

2 participants