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

examples: Support DWARF5 filename decoding #582

Merged

Conversation

cyyself
Copy link
Contributor

@cyyself cyyself commented Dec 1, 2024

DWARF5 uses 0-indexed file_entry and directory_entry. We should not skip index 0 when decoding the filename and the directory for DWARF5.

@sevaa
Copy link
Contributor

sevaa commented Dec 2, 2024

Makes sense.

Copy link
Owner

@eliben eliben left a comment

Choose a reason for hiding this comment

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

Thank you

Just a minor code style request

DWARF5 uses 0-indexed file_entry and directory_entry.  We should not
skip index 0 when decoding the filename and the directory for DWARF5.
@cyyself cyyself force-pushed the dwarf_lineprogram_filenames_support_dwarf5 branch from 28b7224 to d78aadc Compare December 4, 2024 18:11
@cyyself
Copy link
Contributor Author

cyyself commented Dec 4, 2024

Thank you

Just a minor code style request

Resolved now. Thanks!

@eliben eliben merged commit d6d7353 into eliben:main Dec 5, 2024
4 checks passed
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